mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-59409 admin: set admin user in unittest
This commit is contained in:
parent
8d8d00ef42
commit
6e861be6b7
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user