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-02-09 09:07:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-09 09:07:49 +0300
commitc789d0002c97a00e262be992adfcc0d26b72910e (patch)
treef292cf7810c5c4b8318c29f6486e20e4a04277c2 /spec/frontend/jobs
parent38ff3a81189c8323d323946afcf7dad62c84b9aa (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/jobs')
-rw-r--r--spec/frontend/jobs/components/job/manual_variables_form_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/jobs/components/job/manual_variables_form_spec.js b/spec/frontend/jobs/components/job/manual_variables_form_spec.js
index 674812931c2..a5b3b0e3b47 100644
--- a/spec/frontend/jobs/components/job/manual_variables_form_spec.js
+++ b/spec/frontend/jobs/components/job/manual_variables_form_spec.js
@@ -4,8 +4,8 @@ import VueApollo from 'vue-apollo';
import { nextTick } from 'vue';
import { mountExtended } from 'helpers/vue_test_utils_helper';
import createMockApollo from 'helpers/mock_apollo_helper';
+import { TYPENAME_CI_BUILD } from '~/graphql_shared/constants';
import { convertToGraphQLId } from '~/graphql_shared/utils';
-import { GRAPHQL_ID_TYPES } from '~/jobs/constants';
import waitForPromises from 'helpers/wait_for_promises';
import { redirectTo } from '~/lib/utils/url_utility';
import ManualVariablesForm from '~/jobs/components/job/manual_variables_form.vue';
@@ -152,7 +152,7 @@ describe('Manual Variables Form', () => {
expect(wrapper.vm.$apollo.mutate).toHaveBeenCalledWith({
mutation: retryJobMutation,
variables: {
- id: convertToGraphQLId(GRAPHQL_ID_TYPES.ciBuild, mockId),
+ id: convertToGraphQLId(TYPENAME_CI_BUILD, mockId),
variables: [
{
key: 'new key',