From cfc8827f6bf9573b02401b1908728da3aed96698 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 23 Jan 2023 18:11:12 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/frontend/lib/utils/axios_utils_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/frontend/lib/utils/axios_utils_spec.js') 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); }); }); }); -- cgit v1.2.1