diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-29 18:09:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-29 18:09:34 +0300 |
commit | 11f742d4e72a0b436d65161c5ef08ce9e19b8ebf (patch) | |
tree | 1b6a34864e771a2a9001111501c90a28036cc487 /spec/frontend/set_status_modal | |
parent | 9bf40d9fdc79fb09f67ac2b571467908758777ad (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/set_status_modal')
-rw-r--r-- | spec/frontend/set_status_modal/set_status_modal_wrapper_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/set_status_modal/set_status_modal_wrapper_spec.js b/spec/frontend/set_status_modal/set_status_modal_wrapper_spec.js index 344bbaa4a8b..53d2a9e0978 100644 --- a/spec/frontend/set_status_modal/set_status_modal_wrapper_spec.js +++ b/spec/frontend/set_status_modal/set_status_modal_wrapper_spec.js @@ -4,7 +4,7 @@ import { mountExtended } from 'helpers/vue_test_utils_helper'; import { initEmojiMock, clearEmojiMock } from 'helpers/emoji'; import * as UserApi from '~/api/user_api'; import EmojiPicker from '~/emoji/components/picker.vue'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import stubChildren from 'helpers/stub_children'; import SetStatusModalWrapper from '~/set_status_modal/set_status_modal_wrapper.vue'; import { AVAILABILITY_STATUS } from '~/set_status_modal/constants'; @@ -253,7 +253,7 @@ describe('SetStatusModalWrapper', () => { findModal().vm.$emit('primary'); await nextTick(); - expect(createFlash).toHaveBeenCalledWith({ + expect(createAlert).toHaveBeenCalledWith({ message: "Sorry, we weren't able to set your status. Please try again later.", }); }); |