Commit 625a8c4a authored by Savorboard's avatar Savorboard

fixed unit test.

parent 3c06410c
...@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.MySql.Test ...@@ -29,6 +29,7 @@ namespace DotNetCore.CAP.MySql.Test
_connectionString = ConnectionUtil.GetConnectionString(); _connectionString = ConnectionUtil.GetConnectionString();
services.AddSingleton(new MySqlOptions { ConnectionString = _connectionString }); services.AddSingleton(new MySqlOptions { ConnectionString = _connectionString });
services.AddSingleton(new CapOptions());
services.AddSingleton<MySqlStorage>(); services.AddSingleton<MySqlStorage>();
_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