Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit ccc4509

Browse files
committed
Adds test for locale without parent local in Zend_Locale_DataTest
1 parent 4261557 commit ccc4509

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Zend/Locale/DataTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7277,5 +7277,9 @@ public function testGetParentLocale()
72777277
// Test with value
72787278
$result = Zend_Locale_Data::getContent('de_DE', 'parentlocale', 'zh_Hant_MO');
72797279
$this->assertEquals('zh_Hant_HK', $result);
7280+
7281+
// Test without parent locale
7282+
$result = Zend_Locale_Data::getContent('de_DE', 'parentlocale');
7283+
$this->assertFalse($result);
72807284
}
72817285
}

0 commit comments

Comments
 (0)