mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Fix tests
This commit is contained in:
1 parent
fc113fda95
commit
7c242703e0
3 files changed
+7
-8
No files matched your search
Generated
+4
-4
@@ -3801,12 +3801,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/database.git",
|
||||
"reference": "2672aaa1cf77d292b56ceb1723df04655dad2c8f"
|
||||
"reference": "60542f50a37a13833d2928123496d885fa14bcaa"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/database/zipball/2672aaa1cf77d292b56ceb1723df04655dad2c8f",
|
||||
"reference": "2672aaa1cf77d292b56ceb1723df04655dad2c8f",
|
||||
"url": "https://api.github.com/repos/utopia-php/database/zipball/60542f50a37a13833d2928123496d885fa14bcaa",
|
||||
"reference": "60542f50a37a13833d2928123496d885fa14bcaa",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -3851,7 +3851,7 @@
|
||||
"issues": "https://github.com/utopia-php/database/issues",
|
||||
"source": "https://github.com/utopia-php/database/tree/joins8"
|
||||
},
|
||||
"time": "2026-02-18T10:39:50+00:00"
|
||||
"time": "2026-02-18T11:09:33+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/detector",
|
||||
|
||||
@@ -2456,10 +2456,10 @@ trait DatabasesBase
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $response['headers']['status-code']);
|
||||
$this->assertEquals('Invalid query method: equal', $response['body']['message']);
|
||||
$this->assertEquals('Only Select queries are permitted', $response['body']['message']);
|
||||
|
||||
// Query by sequence
|
||||
$response = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $document['$collectionId'] . '/documents/' . $document['$id'], array_merge([
|
||||
$response = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $document['$collectionId'] . '/documents', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), [
|
||||
|
||||
@@ -2383,8 +2383,7 @@ trait DatabasesBase
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $response['headers']['status-code']);
|
||||
$this->assertEquals('Invalid query method: equal', $response['body']['message']);
|
||||
|
||||
$this->assertEquals('Only Select queries are permitted', $response['body']['message']);
|
||||
|
||||
// Query by sequence
|
||||
$response = $this->client->call(Client::METHOD_GET, '/tablesdb/' . $databaseId . '/tables/' . $row['$tableId'] . '/rows', array_merge([
|
||||
|
||||
Reference in new issue
Block a user