diff options
Diffstat (limited to 'spec/frontend/feature_flags/components/edit_feature_flag_spec.js')
-rw-r--r-- | spec/frontend/feature_flags/components/edit_feature_flag_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/feature_flags/components/edit_feature_flag_spec.js b/spec/frontend/feature_flags/components/edit_feature_flag_spec.js index 05709cd05e6..cf4605e21ea 100644 --- a/spec/frontend/feature_flags/components/edit_feature_flag_spec.js +++ b/spec/frontend/feature_flags/components/edit_feature_flag_spec.js @@ -10,6 +10,7 @@ import EditFeatureFlag from '~/feature_flags/components/edit_feature_flag.vue'; import Form from '~/feature_flags/components/form.vue'; import createStore from '~/feature_flags/store/edit'; import axios from '~/lib/utils/axios_utils'; +import { HTTP_STATUS_OK } from '~/lib/utils/http_status'; Vue.use(Vuex); @@ -35,7 +36,7 @@ describe('Edit feature flag form', () => { beforeEach(() => { mock = new MockAdapter(axios); - mock.onGet(`${TEST_HOST}/feature_flags.json`).replyOnce(200, { + mock.onGet(`${TEST_HOST}/feature_flags.json`).replyOnce(HTTP_STATUS_OK, { id: 21, iid: 5, active: true, |