Commit 5e321a22 authored by Savorboard's avatar Savorboard

fixed postgresql tests.

parent 625a8c4a
...@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.PostgreSql.Test ...@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.PostgreSql.Test
_connectionString = ConnectionUtil.GetConnectionString(); _connectionString = ConnectionUtil.GetConnectionString();
services.AddSingleton(new PostgreSqlOptions { ConnectionString = _connectionString }); services.AddSingleton(new PostgreSqlOptions { ConnectionString = _connectionString });
services.AddSingleton(new CapOptions());
services.AddSingleton<PostgreSqlStorage>(); services.AddSingleton<PostgreSqlStorage>();
_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