Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/crm/mock_data.js')
-rw-r--r--spec/frontend/crm/mock_data.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/frontend/crm/mock_data.js b/spec/frontend/crm/mock_data.js
index 86c5c48cf03..4197621aaa6 100644
--- a/spec/frontend/crm/mock_data.js
+++ b/spec/frontend/crm/mock_data.js
@@ -45,3 +45,37 @@ export const getGroupContactsQueryResponse = {
},
},
};
+
+export const getGroupOrganizationsQueryResponse = {
+ data: {
+ group: {
+ __typename: 'Group',
+ id: 'gid://gitlab/Group/26',
+ organizations: {
+ nodes: [
+ {
+ __typename: 'CustomerRelationsOrganization',
+ id: 'gid://gitlab/CustomerRelations::Organization/1',
+ name: 'Test Inc',
+ defaultRate: 100,
+ description: null,
+ },
+ {
+ __typename: 'CustomerRelationsOrganization',
+ id: 'gid://gitlab/CustomerRelations::Organization/2',
+ name: 'ABC Company',
+ defaultRate: 110,
+ description: 'VIP',
+ },
+ {
+ __typename: 'CustomerRelationsOrganization',
+ id: 'gid://gitlab/CustomerRelations::Organization/3',
+ name: 'GitLab',
+ defaultRate: 120,
+ description: null,
+ },
+ ],
+ },
+ },
+ },
+};