Skip to content

Commit

Permalink
Merge branch 'MDL-83295-main' of https://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaies committed Sep 30, 2024
2 parents f7db1fa + a2dd139 commit c24a055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/task/stored_progress_bar_cleanup_task_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand All @@ -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));
Expand Down

0 comments on commit c24a055

Please sign in to comment.