Commit f712f07a authored by jakeburden's avatar jakeburden

Update deploy freeze spec to use GlButton

parent f32930eb
import Vuex from 'vuex';
import { createLocalVue, shallowMount } from '@vue/test-utils';
import { GlDeprecatedButton, GlModal } from '@gitlab/ui';
import { GlButton, GlModal } from '@gitlab/ui';
import DeployFreezeModal from '~/deploy_freeze/components/deploy_freeze_modal.vue';
import DeployFreezeTimezoneDropdown from '~/deploy_freeze/components/deploy_freeze_timezone_dropdown.vue';
import createStore from '~/deploy_freeze/store';
......@@ -31,7 +31,7 @@ describe('Deploy freeze modal', () => {
const findModal = () => wrapper.find(GlModal);
const addDeployFreezeButton = () =>
findModal()
.findAll(GlDeprecatedButton)
.findAll(GlButton)
.at(1);
const setInput = (freezeStartCron, freezeEndCron, selectedTimezone) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment