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:
parent
cc3ecaefcb
commit
0b0e28c9f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user