From edd51eb2455ceea73cc938d01239b2bdb1b8398c Mon Sep 17 00:00:00 2001 From: Adam Olley Date: Tue, 30 Oct 2018 09:15:51 +1030 Subject: [PATCH] MDL-63811 phpunit: Fix typo in new allowed config variable Without this, phpunit doesn't allow the pathtophp unit config setting to be set in config.php as intended. --- lib/phpunit/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phpunit/bootstrap.php b/lib/phpunit/bootstrap.php index 1f4ba0a83c7..9bb548a67f4 100644 --- a/lib/phpunit/bootstrap.php +++ b/lib/phpunit/bootstrap.php @@ -181,7 +181,7 @@ $CFG->dboptions = isset($CFG->phpunit_dboptions) ? $CFG->phpunit_dboptions : $CF $allowed = array('wwwroot', 'dataroot', 'dirroot', 'admin', 'directorypermissions', 'filepermissions', 'dbtype', 'dblibrary', 'dbhost', 'dbname', 'dbuser', 'dbpass', 'prefix', 'dboptions', 'proxyhost', 'proxyport', 'proxytype', 'proxyuser', 'proxypassword', 'proxybypass', // keep proxy settings from config.php - 'altcacheconfigpath', 'pathtogs', 'pathtphp', 'pathtodu', 'aspellpath', 'pathtodot', + 'altcacheconfigpath', 'pathtogs', 'pathtophp', 'pathtodu', 'aspellpath', 'pathtodot', 'pathtounoconv', 'alternative_file_system_class', 'pathtopython' ); $productioncfg = (array)$CFG;