Skip to content

Commit 8668bd5

Browse files
committed
Handle connection is null when test ignored
1 parent fed200b commit 8668bd5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Orm/Xtensive.Orm.Tests.Sql/TransactionAnomaliesTestBase.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ protected override void TestFixtureSetUp()
3939

4040
protected override void TestFixtureTearDown()
4141
{
42+
if (Connection is null)
43+
return;
4244
try {
4345
Connection.Open();
4446
if (defaultSchema.Tables.Any(t => t.DbName == TestTableName)) {

0 commit comments

Comments
 (0)