mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Test case for date format definition using a LC_TIME locale file
This commit is contained in:
parent
50f58da60d
commit
7e9fc9f705
1 changed files with 3 additions and 1 deletions
|
@ -2591,7 +2591,9 @@ class I18nTest extends CakeTestCase {
|
|||
|
||||
function testTimeDefinition() {
|
||||
Configure::write('Config.language', 'po');
|
||||
$abday = __c('abday', 5, true);
|
||||
$result = __c('d_fmt', 5, true);
|
||||
$expected = '%m/%d/%Y';
|
||||
$this->assertEqual($result,$expected);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue