MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init

This commit is contained in:
Petr Škoda
2013-08-12 13:01:47 +02:00
parent 50ff861263
commit 96f81ea385
43 changed files with 192 additions and 185 deletions
+2 -1
View File
@@ -65,9 +65,10 @@ class core_phpunit_advanced_testcase extends advanced_testcase {
$debuggings = $this->getDebuggingMessages();
$this->assertEquals(0, count($debuggings));
$CFG->debug = DEBUG_NONE;
set_debugging(DEBUG_NONE);
debugging('hokus');
$this->assertDebuggingNotCalled();
set_debugging(DEBUG_DEVELOPER);
}
public function test_set_user() {