summaryrefslogtreecommitdiff
path: root/spec/frontend/lib/utils/axios_utils_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-23 18:11:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-23 18:11:12 +0000
commitcfc8827f6bf9573b02401b1908728da3aed96698 (patch)
tree30180d04062db3e56d1cc3772888ff4f15e56c10 /spec/frontend/lib/utils/axios_utils_spec.js
parenta8b96c3072b3bd4d45e6364931042b350bf7fa2e (diff)
downloadgitlab-ce-cfc8827f6bf9573b02401b1908728da3aed96698.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/lib/utils/axios_utils_spec.js')
-rw-r--r--spec/frontend/lib/utils/axios_utils_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/lib/utils/axios_utils_spec.js b/spec/frontend/lib/utils/axios_utils_spec.js
index 27c580a4d8b..2656fb1d648 100644
--- a/spec/frontend/lib/utils/axios_utils_spec.js
+++ b/spec/frontend/lib/utils/axios_utils_spec.js
@@ -28,8 +28,8 @@ describe('axios_utils', () => {
return axios.waitForAll().finally(() => {
expect(handler).toHaveBeenCalledTimes(2);
- expect(handler.mock.calls[0][0].status).toBe(200);
- expect(handler.mock.calls[1][0].response.status).toBe(500);
+ expect(handler.mock.calls[0][0].status).toBe(HTTP_STATUS_OK);
+ expect(handler.mock.calls[1][0].response.status).toBe(HTTP_STATUS_INTERNAL_SERVER_ERROR);
});
});
});