From d18549e3fa690ff7f2cb0be85407116e9f829694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Wed, 26 Mar 2025 19:22:24 +0100 Subject: [PATCH] Adapt test, the tokens API returns the ids as the tokens now --- tests/acceptance/features/apiAuthApp/token.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/features/apiAuthApp/token.feature b/tests/acceptance/features/apiAuthApp/token.feature index 9545f6b82b..e57586dec3 100644 --- a/tests/acceptance/features/apiAuthApp/token.feature +++ b/tests/acceptance/features/apiAuthApp/token.feature @@ -58,7 +58,7 @@ Feature: create auth-app token ], "properties": { "token": { - "pattern": "^\\$argon2id\\$v=19\\$m=65536,t=1,p=16\\$.+$" + "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" }, "label": { "const": "Generated via API" @@ -75,7 +75,7 @@ Feature: create auth-app token ], "properties": { "token": { - "pattern": "^\\$argon2id\\$v=19\\$m=65536,t=1,p=16\\$.+$" + "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" }, "label": { "const": "Generated via CLI" @@ -92,7 +92,7 @@ Feature: create auth-app token ], "properties": { "token": { - "pattern": "^\\$argon2id\\$v=19\\$m=65536,t=1,p=16\\$.+$" + "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" }, "label": { "const": "Generated via API (Impersonation)"