From b8d65326e679c57efa3053ecbfc6a09770b38b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 8 Apr 2026 10:34:18 +0200 Subject: [PATCH] Fix failing tests --- tests/e2e/Services/Project/KeysBase.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/e2e/Services/Project/KeysBase.php b/tests/e2e/Services/Project/KeysBase.php index 04310a913f..fda5ef377f 100644 --- a/tests/e2e/Services/Project/KeysBase.php +++ b/tests/e2e/Services/Project/KeysBase.php @@ -698,20 +698,17 @@ trait KeysBase /** * @param array|null $scopes */ - protected function createKey(string $keyId, ?string $name, ?array $scopes = null, ?string $expire = null, bool $authenticated = true, bool $sendScopes = true): mixed + protected function createKey(string $keyId, ?string $name, ?array $scopes = null, ?string $expire = null, bool $authenticated = true): mixed { $params = [ 'keyId' => $keyId, + 'scopes' => $scopes, ]; if ($name !== null) { $params['name'] = $name; } - if ($sendScopes) { - $params['scopes'] = $scopes; - } - if ($expire !== null) { $params['expire'] = $expire; }