diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-01 21:09:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-01 21:09:29 +0300 |
commit | 3011f8b297a5b71cd505a672b59cc8d3e0aa9f65 (patch) | |
tree | 99bf3a2d875f92f7d77a8302911b1ff3ce2a19be /spec/frontend/clusters | |
parent | 06f736847bb6a7f577a8f121f94e4cc7ddb51856 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/clusters')
3 files changed, 2 insertions, 6 deletions
diff --git a/spec/frontend/clusters/agents/components/create_token_modal_spec.js b/spec/frontend/clusters/agents/components/create_token_modal_spec.js index 42e6a70ee26..fe3e1844118 100644 --- a/spec/frontend/clusters/agents/components/create_token_modal_spec.js +++ b/spec/frontend/clusters/agents/components/create_token_modal_spec.js @@ -9,7 +9,6 @@ import { EVENT_LABEL_MODAL, EVENT_ACTIONS_OPEN, TOKEN_NAME_LIMIT, - TOKEN_STATUS_ACTIVE, MAX_LIST_COUNT, CREATE_TOKEN_MODAL, } from '~/clusters/agents/constants'; @@ -81,7 +80,6 @@ describe('CreateTokenModal', () => { variables: { agentName, projectPath, - tokenStatus: TOKEN_STATUS_ACTIVE, ...cursor, }, }); diff --git a/spec/frontend/clusters/agents/components/revoke_token_button_spec.js b/spec/frontend/clusters/agents/components/revoke_token_button_spec.js index ed7c940bb04..76c32abb5e4 100644 --- a/spec/frontend/clusters/agents/components/revoke_token_button_spec.js +++ b/spec/frontend/clusters/agents/components/revoke_token_button_spec.js @@ -8,7 +8,7 @@ import { ENTER_KEY } from '~/lib/utils/keys'; import RevokeTokenButton from '~/clusters/agents/components/revoke_token_button.vue'; import getClusterAgentQuery from '~/clusters/agents/graphql/queries/get_cluster_agent.query.graphql'; import revokeTokenMutation from '~/clusters/agents/graphql/mutations/revoke_token.mutation.graphql'; -import { TOKEN_STATUS_ACTIVE, MAX_LIST_COUNT } from '~/clusters/agents/constants'; +import { MAX_LIST_COUNT } from '~/clusters/agents/constants'; import { getTokenResponse, mockRevokeResponse, mockErrorRevokeResponse } from '../../mock_data'; Vue.use(VueApollo); @@ -59,7 +59,6 @@ describe('RevokeTokenButton', () => { variables: { agentName, projectPath, - tokenStatus: TOKEN_STATUS_ACTIVE, ...cursor, }, data: getTokenResponse.data, diff --git a/spec/frontend/clusters/agents/components/show_spec.js b/spec/frontend/clusters/agents/components/show_spec.js index 118a3af48e0..019f789d875 100644 --- a/spec/frontend/clusters/agents/components/show_spec.js +++ b/spec/frontend/clusters/agents/components/show_spec.js @@ -12,7 +12,7 @@ import { useFakeDate } from 'helpers/fake_date'; import createMockApollo from 'helpers/mock_apollo_helper'; import waitForPromises from 'helpers/wait_for_promises'; import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; -import { MAX_LIST_COUNT, TOKEN_STATUS_ACTIVE } from '~/clusters/agents/constants'; +import { MAX_LIST_COUNT } from '~/clusters/agents/constants'; const localVue = createLocalVue(); localVue.use(VueApollo); @@ -89,7 +89,6 @@ describe('ClusterAgentShow', () => { const variables = { agentName: provide.agentName, projectPath: provide.projectPath, - tokenStatus: TOKEN_STATUS_ACTIVE, first: MAX_LIST_COUNT, last: null, }; |