Skip to content

Commit

Permalink
Fix tests when running through AllTests.php
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 21, 2013
1 parent 8d24384 commit a4e95e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions framework/Group/test/Horde/Group/Sql/Base.php
Expand Up @@ -154,8 +154,8 @@ public static function tearDownAfterClass()
}
if (self::$db) {
self::$db->disconnect();
self::$db = null;
}
self::$db = self::$migrator = null;
parent::tearDownAfterClass();
}

Expand All @@ -165,4 +165,4 @@ public function setUp()
$this->markTestSkipped(self::$reason);
}
}
}
}
Expand Up @@ -97,8 +97,8 @@ public static function tearDownAfterClass()
}
if (self::$db) {
self::$db->disconnect();
self::$db = null;
}
self::$db = self::$migrator = null;
parent::tearDownAfterClass();
}

Expand Down
2 changes: 1 addition & 1 deletion framework/Vfs/test/Horde/Vfs/Sql/Base.php
Expand Up @@ -188,8 +188,8 @@ public static function tearDownAfterClass()
}
if (self::$db) {
self::$db->disconnect();
self::$db = null;
}
self::$db = self::$migrator = null;
parent::tearDownAfterClass();
}

Expand Down

0 comments on commit a4e95e1

Please sign in to comment.