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

This commit is contained in:
David Mudrák
2024-03-28 11:25:20 +01:00
parent fce7f84cca
commit 187d53de0a
@@ -202,8 +202,8 @@ EOF;
// We should get the debugging from the user class itself, as well as warning in the output regarding the same.
$this->assertDebuggingCalled('The property \'country\' has invalid data and has been cleaned.');
$this->assertStringContainsString('Invalid data detected for user \'student1\' (country), ' .
'which has been automatically cleaned.', $output);
$this->assertStringContainsString('Incorrect data (country) found for user student1. ' .
'This data has been corrected or deleted.', $output);
}
/**