diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 18:07:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 18:07:31 +0300 |
commit | 30cd626f8c1028ba096e84349580e0772a34b1af (patch) | |
tree | e304b473a86427bc2c7f8992cab8a1479fc8e6c2 /spec/frontend/packages_and_registries/dependency_proxy/app_spec.js | |
parent | 9320083e480a8a1f2584af4e3d9a4538ab14cf1e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/packages_and_registries/dependency_proxy/app_spec.js')
-rw-r--r-- | spec/frontend/packages_and_registries/dependency_proxy/app_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/packages_and_registries/dependency_proxy/app_spec.js b/spec/frontend/packages_and_registries/dependency_proxy/app_spec.js index 329cc15df97..601f8abd34d 100644 --- a/spec/frontend/packages_and_registries/dependency_proxy/app_spec.js +++ b/spec/frontend/packages_and_registries/dependency_proxy/app_spec.js @@ -17,6 +17,7 @@ import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; import waitForPromises from 'helpers/wait_for_promises'; import { GRAPHQL_PAGE_SIZE } from '~/packages_and_registries/dependency_proxy/constants'; import axios from '~/lib/utils/axios_utils'; +import { HTTP_STATUS_ACCEPTED } from '~/lib/utils/http_status'; import DependencyProxyApp from '~/packages_and_registries/dependency_proxy/app.vue'; import TitleArea from '~/vue_shared/components/registry/title_area.vue'; @@ -92,7 +93,7 @@ describe('DependencyProxyApp', () => { window.gon = { ...dummyGon }; mock = new MockAdapter(axios); - mock.onDelete(expectedUrl).reply(202, {}); + mock.onDelete(expectedUrl).reply(HTTP_STATUS_ACCEPTED, {}); }); afterEach(() => { |