Commit 3c06410c authored by Savorboard's avatar Savorboard

fixed unit tests.

parent cc3febd2
...@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.SqlServer.Test ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment