1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +12:00

Fixed locale tests

This commit is contained in:
Eldad Fux 2020-03-29 23:10:47 +03:00
parent 61c82ad5f3
commit 7532a96bb3
3 changed files with 4 additions and 3 deletions

View file

@ -22,7 +22,7 @@ return [
'it', // Italian
'ja', // Japanese
'jv', // Javanese
'km',
'km', // Khmer
'ko', // Korean
'lt', // Lithuanian
'ml', // Malayalam

View file

@ -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');

View file

@ -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