Commit 0019d0b8 authored by Padraig O'Sullivan's avatar Padraig O'Sullivan Committed by Benjamin Eberlei

Use dropAndCreateDatabase schema manager function in test initialization...

Use dropAndCreateDatabase schema manager function in test initialization instead of individual versions of each.
parent db9b0320
......@@ -71,8 +71,7 @@ class TestUtil
$tmpConn = \Doctrine\DBAL\DriverManager::getConnection($tmpDbParams);
$realConn->close();
$tmpConn->getSchemaManager()->dropDatabase($dbname);
$tmpConn->getSchemaManager()->createDatabase($dbname);
$tmpConn->getSchemaManager()->dropAndCreateDatabase($dbname);
$tmpConn->close();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment