mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Add test asserting indexes not required
This commit is contained in:
@@ -1440,6 +1440,14 @@ trait DatabasesBase
|
||||
|
||||
$this->assertCount(0, $documents['body']['documents']);
|
||||
|
||||
$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(200, $documents['headers']['status-code']);
|
||||
|
||||
/**
|
||||
* Test for Failure
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user