mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-68760 string tests: make test_timezone_lang_strings message helpful
This commit is contained in:
parent
d85118369d
commit
8f406297e0
@ -170,7 +170,8 @@ class core_date_testcase extends advanced_testcase {
|
||||
$phpzones = DateTimeZone::listIdentifiers();
|
||||
$manager = get_string_manager();
|
||||
foreach ($phpzones as $tz) {
|
||||
$this->assertTrue($manager->string_exists(strtolower($tz), 'core_timezones'));
|
||||
$this->assertTrue($manager->string_exists(strtolower($tz), 'core_timezones'),
|
||||
'String for timezone ' . strtolower($tz) . ' not found.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user