MDL-59595 admin: unit test covering the adminroot cache reset scenario
authorJake Dallimore <jake@moodle.com>
Fri, 15 Dec 2017 05:37:34 +0000 (13:37 +0800)
committerJake Dallimore <jake@moodle.com>
Tue, 24 Jul 2018 00:25:30 +0000 (08:25 +0800)
commitdbf66238b79b9132693975c5544180d240b7a052
treec0a453566573905c244cdd6f2060fb34da1326ca
parent0180369b27227357fbc815e4774bfa4241bcb537
MDL-59595 admin: unit test covering the adminroot cache reset scenario

The adminroot cache should be reset when the current user is changed,
which can occur during cron or during unit tests.
lib/tests/admintree_test.php