1
0
Fork 0
mirror of synced 2024-07-06 15:11:21 +12:00
This commit is contained in:
Jake Barnby 2023-02-21 13:38:19 +13:00
parent 6635ebf27f
commit b8c11a5643
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -1443,15 +1443,6 @@ trait DatabasesBase
/**
* Test for Failure
*/
$documents = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => ['equal("actors", "Tom Holland")'],
]);
$this->assertEquals(400, $documents['headers']['status-code']);
$this->assertEquals('Index not found: actors', $documents['body']['message']);
$conditions = [];
for ($i = 0; $i < 101; $i++) {