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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-11 21:06:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-11 21:06:27 +0300
commitff67e3ed08355fb2d6f6e69d4ed06cd09052e573 (patch)
tree97ac29ddd32b612343b34bbdd6b8d57526b3d308 /spec/fixtures/lib/gitlab/import_export
parent7071f9bf3e131a7a668922ee450da529f1866b6f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures/lib/gitlab/import_export')
-rw-r--r--spec/fixtures/lib/gitlab/import_export/complex/project.json36
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": [
{