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({
|
let token = await app.services.apiTokenService.createApiTokenWithProjects({
|
||||||
environment: 'default',
|
environment: 'default',
|
||||||
projects: ['default'],
|
projects: ['default'],
|
||||||
tokenName: 'test',
|
username: 'test',
|
||||||
type: ApiTokenType.CLIENT,
|
type: ApiTokenType.CLIENT,
|
||||||
});
|
});
|
||||||
await app.request
|
await app.request
|
||||||
|
Loading…
Reference in New Issue
Block a user