diff options
Diffstat (limited to 'spec/frontend/confidential_merge_request/components/project_form_group_spec.js')
-rw-r--r-- | spec/frontend/confidential_merge_request/components/project_form_group_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/confidential_merge_request/components/project_form_group_spec.js b/spec/frontend/confidential_merge_request/components/project_form_group_spec.js index 0e73d50fdb5..d6f16f1a644 100644 --- a/spec/frontend/confidential_merge_request/components/project_form_group_spec.js +++ b/spec/frontend/confidential_merge_request/components/project_form_group_spec.js @@ -3,6 +3,7 @@ import { shallowMount } from '@vue/test-utils'; import MockAdapter from 'axios-mock-adapter'; import ProjectFormGroup from '~/confidential_merge_request/components/project_form_group.vue'; import axios from '~/lib/utils/axios_utils'; +import { HTTP_STATUS_OK } from '~/lib/utils/http_status'; const mockData = [ { @@ -27,7 +28,7 @@ let mock; function factory(projects = mockData) { mock = new MockAdapter(axios); - mock.onGet(/api\/(.*)\/projects\/gitlab-org%2Fgitlab-ce\/forks/).reply(200, projects); + mock.onGet(/api\/(.*)\/projects\/gitlab-org%2Fgitlab-ce\/forks/).reply(HTTP_STATUS_OK, projects); wrapper = shallowMount(ProjectFormGroup, { propsData: { |