Test GlobalTest::testDebugFunctionTest() does not take into account the setting
$wgDebugTimestamps = true. Setting it false makes sure the tests pass though
not testing the settings :(
function testDebugFunctionTest() {
function testDebugFunctionTest() {
- global $wgDebugLogFile, $wgOut, $wgShowDebug;
+ global $wgDebugLogFile, $wgOut, $wgShowDebug, $wgDebugTimestamps;
$old_log_file = $wgDebugLogFile;
$wgDebugLogFile = tempnam( wfTempDir(), 'mw-' );
$old_log_file = $wgDebugLogFile;
$wgDebugLogFile = tempnam( wfTempDir(), 'mw-' );
+ $wgDebugTimestamps = false; #Â FIXME: this setting should be tested