Browse Source

fixed unit test.

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

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

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

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

_services = services;


Loading…
Cancel
Save