diff --git a/tests/e2e/Services/GraphQL/GraphQLAbuseTest.php b/tests/e2e/Services/GraphQL/GraphQLAbuseTest.php index 684523383a..6a6117d367 100644 --- a/tests/e2e/Services/GraphQL/GraphQLAbuseTest.php +++ b/tests/e2e/Services/GraphQL/GraphQLAbuseTest.php @@ -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() diff --git a/tests/e2e/Services/GraphQL/GraphQLBase.php b/tests/e2e/Services/GraphQL/GraphQLBase.php index 4d20f15751..9ac6ef3ac3 100644 --- a/tests/e2e/Services/GraphQL/GraphQLBase.php +++ b/tests/e2e/Services/GraphQL/GraphQLBase.php @@ -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