Skip to content

Commit b52f100

Browse files
authored
Merge pull request #588 from mikependon/repodb-adhocs
#584 Updated the Integration Tests to trigger the client's scenarios.
2 parents ecc25cf + 9a10e0d commit b52f100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RepoDb.Core/RepoDb.Tests/RepoDb.IntegrationTests/Operations/ExecuteQueryMultipleTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ public void TestSqlConnectionExecuteQueryMultipleForMultipleTypes()
11611161
var identityTables = Helper.CreateIdentityTables(10).AsList();
11621162
var nonIdentityTables = Helper.CreateNonIdentityTables(10).AsList();
11631163

1164-
using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb))
1164+
using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb).EnsureOpen())
11651165
{
11661166
// Act
11671167
connection.InsertAll(identityTables);
@@ -1199,7 +1199,7 @@ public void TestSqlConnectionExecuteQueryMultipleAsyncForMultipleTypes()
11991199
var identityTables = Helper.CreateIdentityTables(10).AsList();
12001200
var nonIdentityTables = Helper.CreateNonIdentityTables(10).AsList();
12011201

1202-
using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb))
1202+
using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb).EnsureOpen())
12031203
{
12041204
// Act
12051205
connection.InsertAll(identityTables);

0 commit comments

Comments
 (0)