diff options
Diffstat (limited to 'spec/frontend/search/mock_data.js')
-rw-r--r-- | spec/frontend/search/mock_data.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/frontend/search/mock_data.js b/spec/frontend/search/mock_data.js index 68fc432881a..ee509eaad8d 100644 --- a/spec/frontend/search/mock_data.js +++ b/spec/frontend/search/mock_data.js @@ -2,6 +2,7 @@ export const MOCK_QUERY = { scope: 'issues', state: 'all', confidential: null, + group_id: 'test_1', }; export const MOCK_GROUP = { @@ -22,3 +23,25 @@ export const MOCK_GROUPS = [ id: 'test_2', }, ]; + +export const MOCK_PROJECT = { + name: 'test project', + namespace_id: MOCK_GROUP.id, + nameWithNamespace: 'test group test project', + id: 'test_1', +}; + +export const MOCK_PROJECTS = [ + { + name: 'test project', + namespace_id: MOCK_GROUP.id, + name_with_namespace: 'test group test project', + id: 'test_1', + }, + { + name: 'test project 2', + namespace_id: MOCK_GROUP.id, + name_with_namespace: 'test group test project 2', + id: 'test_2', + }, +]; |