Skip to content

Commit

Permalink
MDL-59409 admin: set admin user in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and snake committed Jul 4, 2017
1 parent bc1d916 commit 106eb49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tests/admintree_test.php
Expand Up @@ -154,6 +154,7 @@ public function test_admin_setting_configexecutable() {
public function test_config_logging() {
global $DB;
$this->resetAfterTest();
$this->setAdminUser();

$DB->delete_records('config_log', array());

Expand Down

0 comments on commit 106eb49

Please sign in to comment.