diff options
Diffstat (limited to 'spec/frontend/members/mock_data.js')
-rw-r--r-- | spec/frontend/members/mock_data.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/members/mock_data.js b/spec/frontend/members/mock_data.js index e668f2a1998..fa324ce1cf9 100644 --- a/spec/frontend/members/mock_data.js +++ b/spec/frontend/members/mock_data.js @@ -4,6 +4,7 @@ export const member = { canRemove: false, canOverride: false, isOverridden: false, + isDirectMember: false, accessLevel: { integerValue: 50, stringValue: 'Owner' }, source: { id: 178, @@ -69,3 +70,8 @@ export const accessRequest = { }; export const members = [member]; + +export const membersJsonString = JSON.stringify(members); + +export const directMember = { ...member, isDirectMember: true }; +export const inheritedMember = { ...member, isDirectMember: false }; |