From 252dc6b9932bd9e97d92fbcc3619954111731efb Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 30 Jan 2026 22:44:19 +1300 Subject: [PATCH] Fix test --- tests/e2e/Services/Functions/FunctionsCustomClientTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php index ab94ff2433..98013e6879 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomClientTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomClientTest.php @@ -7,6 +7,7 @@ use Tests\E2E\Scopes\ProjectCustom; use Tests\E2E\Scopes\Scope; use Tests\E2E\Scopes\SideClient; use Utopia\Database\Helpers\ID; +use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; use Utopia\System\System; @@ -553,7 +554,7 @@ class FunctionsCustomClientTest extends Scope 'collectionId' => ID::unique(), 'name' => 'Test Collection', 'permissions' => [ - Role::users()->toString(), + Permission::create(Role::users()), ], 'documentSecurity' => false, ]);