From 3640f941ab0df93adfd1e4b6ef56cc91d2991c0c Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 5 May 2017 14:14:33 +0200 Subject: [PATCH] And again... --- tests/Install/InstallTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Install/InstallTest.php b/tests/Install/InstallTest.php index c7e377c83..722ff2b47 100644 --- a/tests/Install/InstallTest.php +++ b/tests/Install/InstallTest.php @@ -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.