diff options
Diffstat (limited to 'spec/fixtures/lib')
-rw-r--r-- | spec/fixtures/lib/gitlab/import_export/complex/project.json | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/spec/fixtures/lib/gitlab/import_export/complex/project.json b/spec/fixtures/lib/gitlab/import_export/complex/project.json index 86931d66472..31805a54f2f 100644 --- a/spec/fixtures/lib/gitlab/import_export/complex/project.json +++ b/spec/fixtures/lib/gitlab/import_export/complex/project.json @@ -2260,7 +2260,41 @@ ] } ], - "snippets": [], + "snippets": [ + { + "id": 1, + "title": "Test snippet title", + "content": "x = 1", + "author_id": 1, + "project_id": 1, + "created_at": "2019-11-05T15:06:06.579Z", + "updated_at": "2019-11-05T15:06:06.579Z", + "file_name": "", + "visibility_level": 20, + "description": "Test snippet description", + "award_emoji": [ + { + "id": 1, + "name": "thumbsup", + "user_id": 1, + "awardable_type": "Snippet", + "awardable_id": 1, + "created_at": "2019-11-05T15:37:21.287Z", + "updated_at": "2019-11-05T15:37:21.287Z" + }, + { + "id": 2, + "name": "coffee", + "user_id": 1, + "awardable_type": "Snippet", + "awardable_id": 1, + "created_at": "2019-11-05T15:37:24.645Z", + "updated_at": "2019-11-05T15:37:24.645Z" + } + ], + "notes": [] + } + ], "releases": [], "project_members": [ { |