diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-26 00:08:44 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-26 00:08:44 +0000 |
commit | e5fec17b5823511bda9bb1ac0dc64ab9c84a2a2f (patch) | |
tree | 5d1600d4e9cbbdf42c21978e4c52cec831c1aec8 /spec/frontend/lib/utils/icon_utils_spec.js | |
parent | 23e3a19888835a5a7fc68a081ba1e050e9baf681 (diff) | |
download | gitlab-ce-e5fec17b5823511bda9bb1ac0dc64ab9c84a2a2f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/lib/utils/icon_utils_spec.js')
-rw-r--r-- | spec/frontend/lib/utils/icon_utils_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/lib/utils/icon_utils_spec.js b/spec/frontend/lib/utils/icon_utils_spec.js index db1f174703b..f32c21fbb4f 100644 --- a/spec/frontend/lib/utils/icon_utils_spec.js +++ b/spec/frontend/lib/utils/icon_utils_spec.js @@ -1,5 +1,6 @@ import MockAdapter from 'axios-mock-adapter'; import axios from '~/lib/utils/axios_utils'; +import { HTTP_STATUS_INTERNAL_SERVER_ERROR } from '~/lib/utils/http_status'; import { clearSvgIconPathContentCache, getSvgIconPathContent } from '~/lib/utils/icon_utils'; describe('Icon utils', () => { @@ -50,9 +51,9 @@ describe('Icon utils', () => { beforeEach(() => { axiosMock .onGet(gon.sprite_icons) - .replyOnce(500) + .replyOnce(HTTP_STATUS_INTERNAL_SERVER_ERROR) .onGet(gon.sprite_icons) - .replyOnce(500) + .replyOnce(HTTP_STATUS_INTERNAL_SERVER_ERROR) .onGet(gon.sprite_icons) .reply(200, mockIcons); }); |