Minor 3.x Updates (#339)

* remove unnecessary call

* Refactoring test fixture
This commit is contained in:
Steve Smith
2019-12-18 16:59:25 -05:00
committed by GitHub
parent e53117b952
commit fa8839e1d8
9 changed files with 20 additions and 28 deletions

View File

@@ -1,5 +1,4 @@
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.eShopWeb.Web;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
@@ -8,9 +7,9 @@ using Xunit;
namespace Microsoft.eShopWeb.FunctionalTests.Web.Controllers
{
[Collection("Sequential")]
public class OrderIndexOnGet : IClassFixture<CustomWebApplicationFactory<Startup>>
public class OrderIndexOnGet : IClassFixture<WebTestFixture>
{
public OrderIndexOnGet(CustomWebApplicationFactory<Startup> factory)
public OrderIndexOnGet(WebTestFixture factory)
{
Client = factory.CreateClient(new WebApplicationFactoryClientOptions
{