mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix expectations
This commit is contained in:
@@ -4715,8 +4715,7 @@ trait DatabasesBase
|
||||
],
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $documents['headers']['status-code']);
|
||||
$this->assertEquals('Invalid query: Cannot query nested attribute on: library', $documents['body']['message']);
|
||||
$this->assertEquals(200, $documents['headers']['status-code']);
|
||||
|
||||
$response = $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $person['body']['$id'] . '/attributes/library', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
|
||||
@@ -4642,8 +4642,7 @@ trait DatabasesBase
|
||||
],
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $rows['headers']['status-code']);
|
||||
$this->assertEquals('Invalid query: Cannot query nested attribute on: library', $rows['body']['message']);
|
||||
$this->assertEquals(200, $rows['headers']['status-code']);
|
||||
|
||||
$response = $this->client->call(Client::METHOD_DELETE, '/tablesdb/' . $databaseId . '/tables/' . $person['body']['$id'] . '/columns/library', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user