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:
authorJames Lopez <james@jameslopez.es>2016-12-21 12:33:20 +0300
committerJames Lopez <james@jameslopez.es>2016-12-21 12:33:20 +0300
commit5452747729d30733a51a85ff1212d0724af1d1ff (patch)
treef8f2558cdc606b1f57d1d13c86600154fb1b90af /spec/lib/gitlab/import_export/project.json
parent528c3e2b8d2d65257e489601220f34b918b80e17 (diff)
Fix error importing label priorities and added relevant spec
Diffstat (limited to 'spec/lib/gitlab/import_export/project.json')
-rw-r--r--spec/lib/gitlab/import_export/project.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/lib/gitlab/import_export/project.json b/spec/lib/gitlab/import_export/project.json
index 931d426c87f..2c0750c3377 100644
--- a/spec/lib/gitlab/import_export/project.json
+++ b/spec/lib/gitlab/import_export/project.json
@@ -15,6 +15,28 @@
"type": "ProjectLabel",
"priorities": [
]
+ },
+ {
+ "id": 3,
+ "title": "test3",
+ "color": "#428bca",
+ "group_id": 8,
+ "created_at": "2016-07-22T08:55:44.161Z",
+ "updated_at": "2016-07-22T08:55:44.161Z",
+ "template": false,
+ "description": "",
+ "project_id": null,
+ "type": "GroupLabel",
+ "priorities": [
+ {
+ "id": 1,
+ "project_id": 5,
+ "label_id": 1,
+ "priority": 1,
+ "created_at": "2016-10-18T09:35:43.338Z",
+ "updated_at": "2016-10-18T09:35:43.338Z"
+ }
+ ]
}
],
"issues": [