feat: 单元测试添加种子数据
This commit is contained in:
@@ -27,9 +27,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="appsettings.Development.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Update="appsettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Yi.Abp.Test
|
||||
this.TestServiceScope = ServiceProvider.CreateScope();
|
||||
this.Logger = (ILogger)this.ServiceProvider.GetRequiredService(typeof(ILogger<>).MakeGenericType(this.GetType()));
|
||||
|
||||
//host.InitializeAsync().Wait();
|
||||
host.InitializeAsync().Wait();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user