diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-19 21:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-19 21:08:48 +0300 |
commit | bb915e6375fe65053937c6bf8a7d0771dc9e4713 (patch) | |
tree | 1836cb9ec3d39d283707997f86f2edfc77c4e121 /spec/frontend/admin | |
parent | b6d63c915a91aeb7a4437349c53e68be8c50cf4e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/admin')
-rw-r--r-- | spec/frontend/admin/users/new_spec.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/frontend/admin/users/new_spec.js b/spec/frontend/admin/users/new_spec.js index 5e5763822a8..eba5c87f470 100644 --- a/spec/frontend/admin/users/new_spec.js +++ b/spec/frontend/admin/users/new_spec.js @@ -1,20 +1,19 @@ +import newWithInternalUserRegex from 'test_fixtures/admin/users/new_with_internal_user_regex.html'; import { setupInternalUserRegexHandler, ID_USER_EMAIL, ID_USER_EXTERNAL, ID_WARNING, } from '~/admin/users/new'; -import { loadHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; describe('admin/users/new', () => { - const FIXTURE = 'admin/users/new_with_internal_user_regex.html'; - let elExternal; let elUserEmail; let elWarningMessage; beforeEach(() => { - loadHTMLFixture(FIXTURE); + setHTMLFixture(newWithInternalUserRegex); setupInternalUserRegexHandler(); elExternal = document.getElementById(ID_USER_EXTERNAL); |