1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

fix: Use username instead of tokenName

This commit is contained in:
Christopher Kolstad 2023-05-27 14:48:19 +02:00
parent cc3ecaefcb
commit 0b0e28c9f5
No known key found for this signature in database
GPG Key ID: D9041DC670F032F3

View File

@ -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