|
@@ -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; |
|
|