Browse Source

fixed unit tests.

master
Savorboard 7 years ago
parent
commit
3c06410cbb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      test/DotNetCore.CAP.SqlServer.Test/TestHost.cs

+ 1
- 0
test/DotNetCore.CAP.SqlServer.Test/TestHost.cs View File

@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.SqlServer.Test


_connectionString = ConnectionUtil.GetConnectionString(); _connectionString = ConnectionUtil.GetConnectionString();
services.AddSingleton(new SqlServerOptions { ConnectionString = _connectionString }); services.AddSingleton(new SqlServerOptions { ConnectionString = _connectionString });
services.AddSingleton(new CapOptions());
services.AddSingleton<SqlServerStorage>(); services.AddSingleton<SqlServerStorage>();


_services = services; _services = services;


Loading…
Cancel
Save