mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update abuse test
This commit is contained in:
@@ -47,7 +47,7 @@ class GraphQLAbuseTest extends Scope
|
||||
|
||||
$max = App::getEnv('_APP_GRAPHQL_MAX_QUERY_COMPLEXITY', 50);
|
||||
|
||||
$this->assertEquals('Max query complexity should be ' . $max . ' but got 51.', $response['body']['errors'][0]['message']);
|
||||
$this->assertEquals('Max query complexity should be ' . $max . ' but got 57.', $response['body']['errors'][0]['message']);
|
||||
}
|
||||
|
||||
public function testTooManyQueriesBlocked()
|
||||
|
||||
@@ -1392,6 +1392,14 @@ trait GraphQLBase
|
||||
default
|
||||
array
|
||||
}
|
||||
databasesCreateBooleanAttribute(databaseId: $databaseId, collectionId: $collectionId, key: "alive", required: false, default: true) {
|
||||
key
|
||||
type
|
||||
status
|
||||
required
|
||||
default
|
||||
array
|
||||
}
|
||||
usersCreate(userId: "unique()", email: "test1@appwrite.io", password: "password", name: "Tester 1") {
|
||||
_id
|
||||
_createdAt
|
||||
|
||||
Reference in New Issue
Block a user