diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 00:10:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 00:10:01 +0300 |
commit | 75d101a1c2684059ea22cea9f00ca74d2db78b38 (patch) | |
tree | 67798118ceb61bc22c0825bd670b0448282dbed5 /spec/frontend/admin | |
parent | 830a1f59e2a0f2aab22def4d7463a1c30532764d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/admin')
-rw-r--r-- | spec/frontend/admin/statistics_panel/components/app_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/admin/statistics_panel/components/app_spec.js b/spec/frontend/admin/statistics_panel/components/app_spec.js index 190f0eb94a0..4c362a31068 100644 --- a/spec/frontend/admin/statistics_panel/components/app_spec.js +++ b/spec/frontend/admin/statistics_panel/components/app_spec.js @@ -8,6 +8,7 @@ import statisticsLabels from '~/admin/statistics_panel/constants'; import createStore from '~/admin/statistics_panel/store'; import axios from '~/lib/utils/axios_utils'; import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils'; +import { HTTP_STATUS_OK } from '~/lib/utils/http_status'; import mockStatistics from '../mock_data'; Vue.use(Vuex); @@ -25,7 +26,7 @@ describe('Admin statistics app', () => { beforeEach(() => { axiosMock = new AxiosMockAdapter(axios); - axiosMock.onGet(/api\/(.*)\/application\/statistics/).reply(200); + axiosMock.onGet(/api\/(.*)\/application\/statistics/).reply(HTTP_STATUS_OK); store = createStore(); }); |