Merge branch 'MDL-72588-fix' of git://github.com/paulholden/moodle

This commit is contained in:
Jun Pataleta
2021-11-01 19:51:07 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class delete_testcase extends externallib_advanced_testcase {
$this->setUser($user);
$this->expectException(report_access_exception::class);
$this->expectExceptionMessage('You can not edit this report');
$this->expectExceptionMessage('You cannot edit this report');
delete::execute($report->get('id'), $audience1->get_persistent()->get('id'));
}
}
+1 -1
View File
@@ -125,7 +125,7 @@ class permission_test extends advanced_testcase {
// User does not have view capability and belongs to an audience.
$this->expectException(report_access_exception::class);
$this->expectExceptionMessage('You can not view this report');
$this->expectExceptionMessage('You cannot view this report');
permission::require_can_view_report($report);
}