From 65e766f8f15010fc6f5ad716f401718e03cc15cc Mon Sep 17 00:00:00 2001 From: Savorboard Date: Sat, 7 Oct 2017 23:30:38 +0800 Subject: [PATCH] update tests. --- test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs | 3 ++- .../PostgreSqlStorageConnectionTest.cs | 3 ++- .../SqlServerStorageConnectionTest.cs | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs b/test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs index fd8f99d..50bc489 100644 --- a/test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs +++ b/test/DotNetCore.CAP.MySql.Test/MySqlStorageConnectionTest.cs @@ -15,7 +15,8 @@ namespace DotNetCore.CAP.MySql.Test public MySqlStorageConnectionTest() { var options = GetService(); - _storage = new MySqlStorageConnection(options); + var capOptions = GetService(); + _storage = new MySqlStorageConnection(options, capOptions); } [Fact] diff --git a/test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs b/test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs index 3de7e0c..df9dd64 100644 --- a/test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs +++ b/test/DotNetCore.CAP.PostgreSql.Test/PostgreSqlStorageConnectionTest.cs @@ -15,7 +15,8 @@ namespace DotNetCore.CAP.PostgreSql.Test public PostgreSqlStorageConnectionTest() { var options = GetService(); - _storage = new PostgreSqlStorageConnection(options); + var capOptions = GetService(); + _storage = new PostgreSqlStorageConnection(options,capOptions); } [Fact] diff --git a/test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs b/test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs index 7adb8bb..84eba4e 100644 --- a/test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs +++ b/test/DotNetCore.CAP.SqlServer.Test/SqlServerStorageConnectionTest.cs @@ -15,7 +15,8 @@ namespace DotNetCore.CAP.SqlServer.Test public SqlServerStorageConnectionTest() { var options = GetService(); - _storage = new SqlServerStorageConnection(options); + var capOptions = GetService(); + _storage = new SqlServerStorageConnection(options, capOptions); } [Fact]