Commit 23126819 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix unit test

parent 338974b0
Pipeline #1674 passed with stage
in 2 minutes and 5 seconds
......@@ -342,7 +342,6 @@ class StoreTest extends TestCase {
SYSTEM_CMD_WKHTMLTOPDF => '/opt/wkhtmltox/bin/wkhtmltopdf',
SYSTEM_DATE_FORMAT => 'yyyy-mm-dd',
SYSTEM_THROW_GENERAL_ERROR => 'no',
SYSTEM_QFQ_LOG => SYSTEM_QFQ_LOG_FILE,
SYSTEM_SQL_LOG_MODE => SQL_LOG_MODE_MODIFY,
SYSTEM_SHOW_DEBUG_INFO => SYSTEM_SHOW_DEBUG_INFO_AUTO,
SYSTEM_DB_INIT => 'set names utf8',
......@@ -388,8 +387,6 @@ class StoreTest extends TestCase {
F_BUTTON_ON_CHANGE_CLASS => 'btn-info alert-info',
SYSTEM_DB_NAME_DATA => '<DB>',
SYSTEM_DB_NAME_QFQ => '<DB>',
SYSTEM_SQL_LOG => SYSTEM_SQL_LOG_FILE,
SYSTEM_MAIL_LOG => SYSTEM_MAIL_LOG_FILE,
'DB_2_USER' => '<DBUSER>',
'DB_2_SERVER' => '<DBSERVER>',
'DB_2_PASSWORD' => '<DBPW>',
......@@ -440,7 +437,8 @@ EOT;
# The following won't be checked by content, cause they will change on different installations.
// foreach ([ SYSTEM_SQL_LOG, SYSTEM_MAIL_LOG, SYSTEM_SITE_PATH, SYSTEM_EXT_PATH, SYSTEM_SEND_E_MAIL] as $key) {
foreach ([SYSTEM_SITE_PATH, SYSTEM_EXT_PATH, SYSTEM_SEND_E_MAIL, SYSTEM_SESSION_TIMEOUT_SECONDS] as $key) {
foreach ([SYSTEM_SITE_PATH, SYSTEM_EXT_PATH, SYSTEM_SEND_E_MAIL, SYSTEM_SESSION_TIMEOUT_SECONDS, SYSTEM_QFQ_LOG,
SYSTEM_SQL_LOG, SYSTEM_MAIL_LOG] as $key) {
$this->assertTrue(isset($config[$key]), "Missing default value for '$key' ");
unset ($config[$key]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment