forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MDL-83295-main' of https://github.com/junpataleta/moodle
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* @copyright 2024 onwards Catalyst IT EU {@link https://catalyst-eu.net} | ||
* @author Mark Johnson <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @covers \core\task\stored_progress_bar_cleanup_task_test | ||
* @covers \core\task\stored_progress_bar_cleanup_task | ||
*/ | ||
final class stored_progress_bar_cleanup_task_test extends \advanced_testcase { | ||
/** | ||
|
@@ -40,7 +40,7 @@ public function test_execute(): void { | |
$updated24hours = $generator->create_stored_progress(lastupdate: time() - DAYSECS - 1); | ||
|
||
$task = new stored_progress_bar_cleanup_task(); | ||
$this->expectOutputString('Deleted old stored_progress records' . PHP_EOL); | ||
$this->expectOutputRegex('/Deleted old stored_progress records/'); | ||
$task->execute(); | ||
|
||
$this->assertNotNull(stored_progress_bar::get_by_id($neverupdated->id)); | ||
|