diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 18:09:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 18:09:55 +0300 |
commit | 25ed642226db28550270b850280462dad124fd61 (patch) | |
tree | e2f64fb49d0a56cf4f10fad32b806a981ee55700 /spec/frontend/invite_members/components | |
parent | 3ca9a972f6bc4060a58703398df74d87703916cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/invite_members/components')
-rw-r--r-- | spec/frontend/invite_members/components/user_limit_notification_spec.js | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/spec/frontend/invite_members/components/user_limit_notification_spec.js b/spec/frontend/invite_members/components/user_limit_notification_spec.js index 490b2e8bc7c..cb43ab506ac 100644 --- a/spec/frontend/invite_members/components/user_limit_notification_spec.js +++ b/spec/frontend/invite_members/components/user_limit_notification_spec.js @@ -1,14 +1,9 @@ import { GlAlert, GlSprintf } from '@gitlab/ui'; import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; import UserLimitNotification from '~/invite_members/components/user_limit_notification.vue'; -import { - NOTIFICATION_LIMIT_VARIANT, - REACHED_LIMIT_VARIANT, - CLOSE_TO_LIMIT_VARIANT, -} from '~/invite_members/constants'; +import { REACHED_LIMIT_VARIANT, CLOSE_TO_LIMIT_VARIANT } from '~/invite_members/constants'; import { freeUsersLimit, remainingSeats } from '../mock_data/member_modal'; -const INFO_ALERT_TITLE = 'Your top-level group name is over the 5 user limit.'; const WARNING_ALERT_TITLE = 'You only have space for 2 more members in name'; describe('UserLimitNotification', () => { @@ -36,17 +31,6 @@ describe('UserLimitNotification', () => { }); }; - describe('when previewing free user cap', () => { - it("renders user's preview limit notification", () => { - createComponent(NOTIFICATION_LIMIT_VARIANT); - - const alert = findAlert(); - - expect(alert.attributes('title')).toEqual(INFO_ALERT_TITLE); - expect(alert.text()).toContain('GitLab will enforce this limit in the future.'); - }); - }); - describe('when close to limit within a group', () => { it("renders user's limit notification", () => { createComponent(CLOSE_TO_LIMIT_VARIANT); |