Update permissions

This commit is contained in:
Jake Barnby committed 2022-09-21 21:03:14 +12:00
1 parent 7167ea2a5f
commit 4d21323001
3 files changed
+10 -8

No files matched your search

@@ -402,7 +402,6 @@ class GraphQLDatabaseServerTest extends Scope
],
'permissions' => [
Permission::read(Role::any()),
Permission::create(Role::any()),
Permission::update(Role::any()),
Permission::delete(Role::any()),
],
@@ -457,7 +456,6 @@ class GraphQLDatabaseServerTest extends Scope
'x-appwrite-project' => $projectId,
], $this->getHeaders()), $gqlPayload);
$this->assertArrayNotHasKey('errors', $actor['body']);
$this->assertIsArray($actor['body']['data']);
$actor = $actor['body']['data']['actorsCreate'];