mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
skip this check if unit test
This commit is contained in:
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…
Reference in New Issue
Block a user