mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
Merge pull request #2466 from appwrite/fix-translation-tests
Attempt to fix tests
This commit is contained in:
commit
1337129aeb
1 changed files with 4 additions and 4 deletions
|
|
@ -205,15 +205,15 @@ trait LocaleBase
|
|||
|
||||
$this->assertEquals($response['headers']['status-code'], 200);
|
||||
$this->assertIsArray($response['body']);
|
||||
$this->assertEquals(185, $response['body']['sum']);
|
||||
$this->assertEquals(184, $response['body']['sum']);
|
||||
|
||||
$this->assertEquals($response['body']['languages'][0]['code'], 'aa');
|
||||
$this->assertEquals($response['body']['languages'][0]['name'], 'Afar');
|
||||
$this->assertEquals($response['body']['languages'][0]['nativeName'], 'Afar');
|
||||
|
||||
$this->assertEquals($response['body']['languages'][184]['code'], 'zu');
|
||||
$this->assertEquals($response['body']['languages'][184]['name'], 'Zulu');
|
||||
$this->assertEquals($response['body']['languages'][184]['nativeName'], 'isiZulu');
|
||||
$this->assertEquals($response['body']['languages'][183]['code'], 'zu');
|
||||
$this->assertEquals($response['body']['languages'][183]['name'], 'Zulu');
|
||||
$this->assertEquals($response['body']['languages'][183]['nativeName'], 'isiZulu');
|
||||
|
||||
/**
|
||||
* Test for FAILURE
|
||||
|
|
|
|||
Loading…
Reference in a new issue