Merge branch 'MDL-82162-main' of https://github.com/sarjona/moodle
This commit is contained in:
@@ -118,6 +118,9 @@ if (!file_exists($featurefile)) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
// Switch to admin user account.
|
||||
\core\session\manager::set_user(get_admin());
|
||||
|
||||
$runner = new tool_generator\local\testscenario\runner();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user