skip this check if unit test

pull/229/head
David Goodwin 6 years ago
parent 897893f3ce
commit 7e7f644952

@ -63,7 +63,7 @@ global $CONF;
require_once("$incpath/config.inc.php");
if (isset($CONF['configured'])) {
if (isset($CONF['configured']) && !defined('PHPUNIT_TEST')) {
if ($CONF['configured'] == false) {
die("Please edit config.local.php - change \$CONF['configured'] to true after specifying appropriate local settings (database_type etc)");
}

Loading…
Cancel
Save