diff options
Diffstat (limited to 'spec/frontend/search/mock_data.js')
-rw-r--r-- | spec/frontend/search/mock_data.js | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/spec/frontend/search/mock_data.js b/spec/frontend/search/mock_data.js index d076997b04a..fbe01f372b0 100644 --- a/spec/frontend/search/mock_data.js +++ b/spec/frontend/search/mock_data.js @@ -2,47 +2,49 @@ export const MOCK_QUERY = { scope: 'issues', state: 'all', confidential: null, - group_id: 'test_1', + group_id: 1, }; export const MOCK_GROUP = { name: 'test group', - full_name: 'full name test group', - id: 'test_1', + full_name: 'full name / test group', + id: 1, }; export const MOCK_GROUPS = [ { + avatar_url: null, name: 'test group', - full_name: 'full name test group', - id: 'test_1', + full_name: 'full name / test group', + id: 1, }, { + avatar_url: 'https://avatar.com', name: 'test group 2', - full_name: 'full name test group 2', - id: 'test_2', + full_name: 'full name / test group 2', + id: 2, }, ]; export const MOCK_PROJECT = { name: 'test project', namespace: MOCK_GROUP, - nameWithNamespace: 'test group test project', - id: 'test_1', + nameWithNamespace: 'test group / test project', + id: 1, }; export const MOCK_PROJECTS = [ { name: 'test project', namespace: MOCK_GROUP, - name_with_namespace: 'test group test project', - id: 'test_1', + name_with_namespace: 'test group / test project', + id: 1, }, { name: 'test project 2', namespace: MOCK_GROUP, - name_with_namespace: 'test group test project 2', - id: 'test_2', + name_with_namespace: 'test group / test project 2', + id: 2, }, ]; |