Bläddra i källkod

update tests.

master
Savorboard 7 år sedan
förälder
incheckning
65e766f8f1
3 ändrade filer med 6 tillägg och 3 borttagningar
  1. +2
    -1
      test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs
  2. +2
    -1
      test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs
  3. +2
    -1
      test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs

+ 2
- 1
test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs Visa fil

@@ -15,7 +15,8 @@ namespace DotNetCore.CAP.MySql.Test
public MySqlStorageConnectionTest()
{
var options = GetService<MySqlOptions>();
_storage = new MySqlStorageConnection(options);
var capOptions = GetService<CapOptions>();
_storage = new MySqlStorageConnection(options, capOptions);
}

[Fact]


+ 2
- 1
test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs Visa fil

@@ -15,7 +15,8 @@ namespace DotNetCore.CAP.PostgreSql.Test
public PostgreSqlStorageConnectionTest()
{
var options = GetService<PostgreSqlOptions>();
_storage = new PostgreSqlStorageConnection(options);
var capOptions = GetService<CapOptions>();
_storage = new PostgreSqlStorageConnection(options,capOptions);
}

[Fact]


+ 2
- 1
test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs Visa fil

@@ -15,7 +15,8 @@ namespace DotNetCore.CAP.SqlServer.Test
public SqlServerStorageConnectionTest()
{
var options = GetService<SqlServerOptions>();
_storage = new SqlServerStorageConnection(options);
var capOptions = GetService<CapOptions>();
_storage = new SqlServerStorageConnection(options, capOptions);
}

[Fact]


Laddar…
Avbryt
Spara