MDL-59409 admin: set admin user in unittest

This commit is contained in:
Marina Glancy 2017-07-04 10:58:14 +08:00 committed by Jake Dallimore
parent 8d8d00ef42
commit 6e861be6b7

View File

@ -154,6 +154,7 @@ class core_admintree_testcase extends advanced_testcase {
public function test_config_logging() {
global $DB;
$this->resetAfterTest();
$this->setAdminUser();
$DB->delete_records('config_log', array());