MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user