mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: graphql test for complex queries.
This commit is contained in:
@@ -3070,7 +3070,7 @@ trait Base
|
||||
_id
|
||||
name
|
||||
}
|
||||
databasesCreateTable(databaseId: $databaseId, tableId: $tableId, name: $tableName, rowSecurity: $rowSecurity, permissions: $tablePermissions) {
|
||||
tablesCreate(databaseId: $databaseId, tableId: $tableId, name: $tableName, rowSecurity: $rowSecurity, permissions: $tablePermissions) {
|
||||
_id
|
||||
_createdAt
|
||||
_updatedAt
|
||||
|
||||
@@ -132,7 +132,7 @@ class AbuseTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
], $gqlPayload);
|
||||
|
||||
$databaseId = $response['body']['data']['tablesCreate']['_id'];
|
||||
$databaseId = $response['body']['data']['databasesCreate']['_id'];
|
||||
|
||||
$query = $this->getQuery(self::$CREATE_TABLE);
|
||||
$gqlPayload = [
|
||||
|
||||
Reference in New Issue
Block a user