mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'wip-mdl-48192' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
1eded976e5
@ -404,12 +404,11 @@ class tool_monitor_eventobservers_testcase extends advanced_testcase {
|
||||
* Run adhoc tasks.
|
||||
*/
|
||||
protected function run_adhock_tasks() {
|
||||
ob_start();
|
||||
while ($task = \core\task\manager::get_next_adhoc_task(time())) {
|
||||
$task->execute();
|
||||
\core\task\manager::adhoc_task_complete($task);
|
||||
}
|
||||
ob_clean(); // Suppress mtrace debugging info.
|
||||
$this->expectOutputRegex("/^Sending message to the user with id \d+ for the subscription with id \d+\.\.\..Sent./ms");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user