瀏覽代碼

update tests.

master
Savorboard 7 年之前
父節點
當前提交
65e766f8f1
共有 3 個檔案被更改,包括 6 行新增3 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存