summaryrefslogtreecommitdiff
path: root/spec/fixtures/api
diff options
context:
space:
mode:
authorIgor <idrozdov@gitlab.com>2019-09-06 15:49:13 +0000
committerStan Hu <stanhu@gmail.com>2019-09-06 15:49:13 +0000
commite8a4ee8ad3987d5c08a07b76a83f3ccef4c546a9 (patch)
tree085822a3fb825c9fc3bd6634e14182c24c2554b7 /spec/fixtures/api
parent05fca5ff1558433029eb9771e582b99399a3eaaa (diff)
downloadgitlab-ce-e8a4ee8ad3987d5c08a07b76a83f3ccef4c546a9.tar.gz
Fix sharing localStorage with all MRs
Expose id field in the serializer in order to store comments content in the localStorage under the correct key
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r--spec/fixtures/api/schemas/entities/merge_request_noteable.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/entities/merge_request_noteable.json b/spec/fixtures/api/schemas/entities/merge_request_noteable.json
index 88b0fecc24c..d37f5b864d7 100644
--- a/spec/fixtures/api/schemas/entities/merge_request_noteable.json
+++ b/spec/fixtures/api/schemas/entities/merge_request_noteable.json
@@ -1,6 +1,10 @@
{
"type": "object",
"properties" : {
+ "id": { "type": "integer" },
+ "iid": { "type": "integer" },
+ "title": { "type": "string" },
+ "description": { "type": "string" },
"merge_params": { "type": ["object", "null"] },
"state": { "type": "string" },
"source_branch": { "type": "string" },