Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed May 23, 2024
1 parent 5354ab5 commit da78427
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const createFeature = async (featureName: string) => {
.expect(201);
};

const createFeatureToggleWithStrategy = async (featureName: string) => {
const createFeatureFlagWithStrategy = async (featureName: string) => {
await createFeature(featureName);
return app.request
.post(
Expand Down Expand Up @@ -309,7 +309,7 @@ test('validate import data', async () => {
await createFeature(archivedFeature);
await archiveFeature(archivedFeature);

await createFeatureToggleWithStrategy(existingFeature);
await createFeatureFlagWithStrategy(existingFeature);

await createContextField(contextField);
const importPayloadWithContextFields: ImportTogglesSchema = {
Expand Down Expand Up @@ -372,12 +372,12 @@ test('validate import data', async () => {
message:
'We detected you are missing the following permissions:',
affectedItems: [
'Create feature toggles',
'Update feature toggles',
'Create context fields',
'Create activation strategies',
'Delete activation strategies',
'Update variants',
'Create feature flags',
'Update feature flags',
'Create tag types',
],
},
Expand Down

0 comments on commit da78427

Please sign in to comment.