1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Bishwajeet Parhi 2023-05-23 13:30:48 +05:30 committed by GitHub
parent 6e5ee27f7c
commit 4964b5c592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,7 +274,9 @@ class DatabasesCustomServerTest extends Scope
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-key' => $this->getProject()['apiKey']
], ['name' => 'Test 1']);
], [
'name' => 'Test 1'
]);
$this->assertEquals(200, $database['headers']['status-code']);
$this->assertEquals('Test 1', $database['body']['name']);