Test case for date format definition using a LC_TIME locale file

This commit is contained in:
José Lorenzo Rodríguez 2010-01-11 15:19:57 -04:30
parent 50f58da60d
commit 7e9fc9f705

View file

@ -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);
}
/**