MDL-76739 lang: Use the fixed strings in the tests, too

This commit is contained in:
David Mudrák 2023-01-09 18:24:23 +01:00 committed by Jun Pataleta
parent 975a127325
commit 50ba9dc72c
30 changed files with 120 additions and 120 deletions

View file

@ -136,7 +136,7 @@ class validate_quiz_access_test extends \advanced_testcase {
*/
public function test_no_keys_provided() {
$this->expectException(\invalid_parameter_exception::class);
$this->expectExceptionMessage('At least one SEB key must be provided.');
$this->expectExceptionMessage('At least one Safe Exam Browser key must be provided.');
validate_quiz_keys::execute($this->quiz->cmid, 'https://www.example.com/moodle');
}