重构单元测试和集成测试
This commit is contained in:
1 parent
e7e9afe11b
commit
81c8f608dc
34 files changed
+135
-300
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
using HelloShop.ProductService.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace HelloShop.ProductService.UnitTests.Utilities
|
||||
namespace HelloShop.ProductService.UnitTests.Helpers
|
||||
{
|
||||
public class FakeDbContextFactory : IDbContextFactory<ProductServiceDbContext>
|
||||
{
|
||||
@@ -7,7 +7,7 @@ using HelloShop.ProductService.Controllers;
|
||||
using HelloShop.ProductService.Entities.Products;
|
||||
using HelloShop.ProductService.Infrastructure;
|
||||
using HelloShop.ProductService.Models.Products;
|
||||
using HelloShop.ProductService.UnitTests.Utilities;
|
||||
using HelloShop.ProductService.UnitTests.Helpers;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace HelloShop.ProductService.UnitTests
|
||||
|
||||
Reference in new issue
Block a user