Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-27 00:11:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-27 00:11:52 +0300
commite04b8c1e60649802ae4249dae7fa7aaf3f0a83c7 (patch)
treedc5607b353067e079443b9478572e4a394bfe011 /spec/frontend/deploy_tokens/components
parentcea01cb81787f0d2c119b287a5833f2e267324bc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/deploy_tokens/components')
-rw-r--r--spec/frontend/deploy_tokens/components/new_deploy_token_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/deploy_tokens/components/new_deploy_token_spec.js b/spec/frontend/deploy_tokens/components/new_deploy_token_spec.js
index 0b82cb32dc4..46f7b2f3604 100644
--- a/spec/frontend/deploy_tokens/components/new_deploy_token_spec.js
+++ b/spec/frontend/deploy_tokens/components/new_deploy_token_spec.js
@@ -3,7 +3,7 @@ import { nextTick } from 'vue';
import { GlButton, GlFormCheckbox, GlFormInput, GlFormInputGroup, GlDatepicker } from '@gitlab/ui';
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 { HTTP_STATUS_INTERNAL_SERVER_ERROR, HTTP_STATUS_OK } from '~/lib/utils/http_status';
import { TEST_HOST } from 'helpers/test_constants';
import NewDeployToken from '~/deploy_tokens/components/new_deploy_token.vue';
import waitForPromises from 'helpers/wait_for_promises';
@@ -184,7 +184,7 @@ describe('New Deploy Token', () => {
write_package_registry: true,
},
})
- .replyOnce(200, { username: 'test token username', token: 'test token' });
+ .replyOnce(HTTP_STATUS_OK, { username: 'test token username', token: 'test token' });
return submitTokenThenCheck();
});
@@ -217,7 +217,7 @@ describe('New Deploy Token', () => {
write_package_registry: true,
},
})
- .replyOnce(200, { username: 'test token username', token: 'test token' });
+ .replyOnce(HTTP_STATUS_OK, { username: 'test token username', token: 'test token' });
return submitTokenThenCheck();
});