class InstallCommandTest extends WallabagCoreTestCase
{
+ public static function setUpBeforeClass()
+ {
+ // disable doctrine-test-bundle
+ StaticDriver::setKeepStaticConnections(false);
+ }
+
+ public static function tearDownAfterClass()
+ {
+ // enable doctrine-test-bundle
+ StaticDriver::setKeepStaticConnections(true);
+ }
+
public function setUp()
{
parent::setUp();
parent::setUp();
}
- // disable doctrine-test-bundle
- StaticDriver::setKeepStaticConnections(false);
-
$this->resetDatabase($this->getClient());
}
$this->resetDatabase($client);
}
- // enable doctrine-test-bundle
- StaticDriver::setKeepStaticConnections(true);
parent::tearDown();
}