From 6919decef3649d686febc110fc9bf3978703542e Mon Sep 17 00:00:00 2001 From: Savorboard Date: Thu, 14 Mar 2019 09:50:29 +0800 Subject: [PATCH] Fixed unit tests --- .../Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs b/src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs index 46bdb07d1..d2cdb044a 100644 --- a/src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs +++ b/src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs @@ -1,6 +1,5 @@ using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; -using Microsoft.eShopOnContainers.BuildingBlocks.IntegrationEventLogEF; using Microsoft.eShopOnContainers.Services.Catalog.API; using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure; using Microsoft.Extensions.Configuration; @@ -39,8 +38,7 @@ namespace Catalog.FunctionalTests new CatalogContextSeed() .SeedAsync(context, env, settings, logger) .Wait(); - }) - .MigrateDbContext((_, __) => { }); + }); return testServer; }