Fixed locale tests
This commit is contained in:
parent
61c82ad5f3
commit
7532a96bb3
|
@ -22,7 +22,7 @@ return [
|
|||
'it', // Italian
|
||||
'ja', // Japanese
|
||||
'jv', // Javanese
|
||||
'km',
|
||||
'km', // Khmer
|
||||
'ko', // Korean
|
||||
'lt', // Lithuanian
|
||||
'ml', // Malayalam
|
||||
|
|
|
@ -185,6 +185,7 @@ Locale::setLanguage('is', include __DIR__.'/config/locales/is.php');
|
|||
Locale::setLanguage('it', include __DIR__.'/config/locales/it.php');
|
||||
Locale::setLanguage('ja', include __DIR__.'/config/locales/ja.php');
|
||||
Locale::setLanguage('jv', include __DIR__.'/config/locales/jv.php');
|
||||
Locale::setLanguage('km', include __DIR__.'/config/locales/km.php');
|
||||
Locale::setLanguage('ko', include __DIR__.'/config/locales/ko.php');
|
||||
Locale::setLanguage('lt', include __DIR__.'/config/locales/lt.php');
|
||||
Locale::setLanguage('ml', include __DIR__.'/config/locales/ml.php');
|
||||
|
|
|
@ -115,8 +115,8 @@ trait LocaleBase
|
|||
$this->assertEquals($response['headers']['status-code'], 200);
|
||||
$this->assertIsArray($response['body']);
|
||||
$this->assertCount(194, $response['body']);
|
||||
$this->assertEquals($response['body']['US'], 'United States +1');
|
||||
$this->assertEquals($response['body']['IL'], 'Israel +972');
|
||||
$this->assertEquals($response['body']['US'], '+1');
|
||||
$this->assertEquals($response['body']['IL'], '+972');
|
||||
|
||||
/**
|
||||
* Test for FAILURE
|
||||
|
|
Loading…
Reference in a new issue