summaryrefslogtreecommitdiff
path: root/tests/units/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r--tests/units/Base.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php
index fe054344..4a5b303f 100644
--- a/tests/units/Base.php
+++ b/tests/units/Base.php
@@ -65,8 +65,7 @@ abstract class Base extends PHPUnit_Framework_TestCase
$pdo->exec('DROP DATABASE '.DB_NAME);
$pdo->exec('CREATE DATABASE '.DB_NAME);
$pdo = null;
- }
- else if (DB_DRIVER === 'postgres') {
+ } elseif (DB_DRIVER === 'postgres') {
$pdo = new PDO('pgsql:host='.DB_HOSTNAME, DB_USERNAME, DB_PASSWORD);
$pdo->exec('DROP DATABASE '.DB_NAME);
$pdo->exec('CREATE DATABASE '.DB_NAME.' WITH OWNER '.DB_USERNAME);