Build test host using given app config file

broken/ef
Paul Schneider 2 years ago
parent ce8b7bcdb3
commit 4bb43877c7
1 changed files with 1 additions and 2 deletions

@ -13,7 +13,6 @@ namespace isnd.host.tests
{
public class UnitTestWebHost
{
const string testingUrl = "http://localhost:5000";
[Fact]
@ -21,7 +20,7 @@ namespace isnd.host.tests
{
string envVar = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
IWebHost webhost = BuildWebHost(new string[] { "--urls", testingUrl });
IWebHost webhost = BuildWebHost(new string[0]);
using (var serviceScope = webhost.Services.CreateScope())
{

Loading…