diff options
Diffstat (limited to 'spec/frontend/invite_members/mock_data/member_modal.js')
-rw-r--r-- | spec/frontend/invite_members/mock_data/member_modal.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/frontend/invite_members/mock_data/member_modal.js b/spec/frontend/invite_members/mock_data/member_modal.js index 59d58f21bb0..67fb1dcbfbd 100644 --- a/spec/frontend/invite_members/mock_data/member_modal.js +++ b/spec/frontend/invite_members/mock_data/member_modal.js @@ -45,4 +45,35 @@ export const user6 = { avatar_url: '', }; +export const postData = { + user_id: `${user1.id},${user2.id}`, + access_level: propsData.defaultAccessLevel, + expires_at: undefined, + invite_source: inviteSource, + format: 'json', + tasks_to_be_done: [], + tasks_project_id: '', +}; + +export const emailPostData = { + access_level: propsData.defaultAccessLevel, + expires_at: undefined, + email: `${user3.name}`, + invite_source: inviteSource, + tasks_to_be_done: [], + tasks_project_id: '', + format: 'json', +}; + +export const singleUserPostData = { + access_level: propsData.defaultAccessLevel, + expires_at: undefined, + user_id: `${user1.id}`, + email: `${user3.name}`, + invite_source: inviteSource, + tasks_to_be_done: [], + tasks_project_id: '', + format: 'json', +}; + export const GlEmoji = { template: '<img/>' }; |