mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
Fix argument list for toggleService calls in tests
This commit is contained in:
parent
e257be361b
commit
c63d308962
@ -17,7 +17,6 @@ import {
|
||||
} from '../../../types/model';
|
||||
import { extractUsername } from '../../../util/extract-user';
|
||||
import { IAuthRequest } from '../../unleash-types';
|
||||
import { projectSchema } from '../../../services/project-schema';
|
||||
|
||||
interface FeatureStrategyParams {
|
||||
projectId: string;
|
||||
|
@ -67,6 +67,7 @@ beforeAll(async () => {
|
||||
},
|
||||
project,
|
||||
feature1,
|
||||
username,
|
||||
environment,
|
||||
);
|
||||
|
||||
@ -86,6 +87,7 @@ beforeAll(async () => {
|
||||
},
|
||||
project,
|
||||
feature2,
|
||||
username,
|
||||
environment,
|
||||
);
|
||||
|
||||
@ -105,6 +107,7 @@ beforeAll(async () => {
|
||||
},
|
||||
project2,
|
||||
feature3,
|
||||
username,
|
||||
environment,
|
||||
);
|
||||
});
|
||||
@ -136,7 +139,7 @@ test('returns feature toggle with :global: config', async () => {
|
||||
});
|
||||
});
|
||||
|
||||
test('returns feature toggle with :global: config', async () => {
|
||||
test('returns feature toggle with testing environment config', async () => {
|
||||
const token = await apiTokenService.createApiToken({
|
||||
type: ApiTokenType.CLIENT,
|
||||
username,
|
||||
|
Loading…
Reference in New Issue
Block a user