mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
Update DI_Test.cs
This commit is contained in:
parent
6d4b1b908d
commit
c5eb792873
|
@ -33,7 +33,7 @@ namespace Blog.Core.Tests
|
|||
{
|
||||
var basePath = Microsoft.DotNet.PlatformAbstractions.ApplicationEnvironment.ApplicationBasePath;
|
||||
|
||||
IServiceCollection services = new ServiceCollection();
|
||||
IServiceCollection services = new ServiceCollection().AddLogging();
|
||||
services.AddAutoMapper(typeof(Startup));
|
||||
|
||||
services.AddScoped<SqlSugar.ISqlSugarClient>(o =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user