MDL-81351 lang: Use the fixed strings in the tests, too
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user