Skip to content

Commit 5944177

Browse files
committed
Fix wrong call of base method
1 parent 983ffb6 commit 5944177

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Orm/Xtensive.Orm.Tests.Sql/IndexTest.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ protected override void TestFixtureSetUp()
4545
Connection.Close();
4646
Connection.Dispose();
4747
throw;
48-
4948
}
5049
}
5150

5251
protected override void TestFixtureTearDown()
5352
{
54-
if (Connection.State != System.Data.ConnectionState.Open)
55-
base.TestFixtureSetUp();
53+
if (Connection.State != System.Data.ConnectionState.Open) {
54+
base.TestFixtureTearDown();
55+
return;
56+
}
5657
if (schema != null) {
5758
Table t = schema.Tables[TableName];
5859
if (t != null) {

0 commit comments

Comments
 (0)