And again...

This commit is contained in:
DariusIII
2017-05-05 14:14:33 +02:00
parent 86a4d2cb69
commit 3640f941ab
+2
View File
@@ -53,6 +53,8 @@ class InstallTest extends \PHPUnit_Framework_TestCase
ColorCLI::doEcho(ColorCLI::error('Invalid database system. Must be: mysql ; Not: ' . getenv('DB_SYSTEM')));
$error = true;
} else {
//create the database
$pdo->query('CREATE DATABASE ' . getenv('DB_NAME') . ' DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci');
// Connect to the SQL server.
try {
// HAS to be DB because settings table does not exist yet.