diff --git a/common.php b/common.php index 05ee13c2..39ff5755 100644 --- a/common.php +++ b/common.php @@ -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)"); }