From d429c57a006157be3a1d87fa962ecb72f6c610a8 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 5 May 2017 14:41:52 +0200 Subject: [PATCH] Final try for today --- tests/Install/InstallTest.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/Install/InstallTest.php b/tests/Install/InstallTest.php index c7e377c83..215e9ea24 100644 --- a/tests/Install/InstallTest.php +++ b/tests/Install/InstallTest.php @@ -33,12 +33,19 @@ use nntmux\Users; */ class InstallTest extends \PHPUnit_Framework_TestCase { + + + /** + * @var Configure + */ + public $config; + /** * */ public function testFullInstall() { - $config = new Configure('install'); + $this->config = new Configure('install'); $pdo = new DB(); $error = false; @@ -48,7 +55,7 @@ class InstallTest extends \PHPUnit_Framework_TestCase exit(); } -// Check if user selected right DB type. + // Check if user selected right DB type. if (getenv('DB_SYSTEM') !== 'mysql') { ColorCLI::doEcho(ColorCLI::error('Invalid database system. Must be: mysql ; Not: ' . getenv('DB_SYSTEM'))); $error = true;