Fixed unit tests
This commit is contained in:
parent
1052527354
commit
6919decef3
@ -1,6 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.AspNetCore.TestHost;
|
using Microsoft.AspNetCore.TestHost;
|
||||||
using Microsoft.eShopOnContainers.BuildingBlocks.IntegrationEventLogEF;
|
|
||||||
using Microsoft.eShopOnContainers.Services.Catalog.API;
|
using Microsoft.eShopOnContainers.Services.Catalog.API;
|
||||||
using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
|
using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
@ -39,8 +38,7 @@ namespace Catalog.FunctionalTests
|
|||||||
new CatalogContextSeed()
|
new CatalogContextSeed()
|
||||||
.SeedAsync(context, env, settings, logger)
|
.SeedAsync(context, env, settings, logger)
|
||||||
.Wait();
|
.Wait();
|
||||||
})
|
});
|
||||||
.MigrateDbContext<IntegrationEventLogContext>((_, __) => { });
|
|
||||||
|
|
||||||
return testServer;
|
return testServer;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user