Commit c7295b49 authored by Padraig O'Sullivan's avatar Padraig O'Sullivan

Use dropAndCreateDatabase schema manager function in test initialization...

Use dropAndCreateDatabase schema manager function in test initialization instead of individual versions of each.
parent 24ec1947
......@@ -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