From 0b0e28c9f5568d0fa1895160ce50998fe8600a7d Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Sat, 27 May 2023 14:48:19 +0200 Subject: [PATCH] fix: Use username instead of tokenName --- src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts b/src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts index 0feb8533e0..fbbd44ba5c 100644 --- a/src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts +++ b/src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts @@ -49,7 +49,7 @@ test(`Access with API token is granted`, async () => { let token = await app.services.apiTokenService.createApiTokenWithProjects({ environment: 'default', projects: ['default'], - tokenName: 'test', + username: 'test', type: ApiTokenType.CLIENT, }); await app.request