17c691f8aa
* Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) * dont insert "-1" in any case to issue.poster_id * Make sure API cant override importand fields * code format * add Test for IssueEdit * load milestone and return it on IssueEdit via API * extend Test for TestAPIEditIssue * fix TEST * make sure Poster is loaded * keep code format on backport as it is
31 lines
406 B
YAML
31 lines
406 B
YAML
-
|
|
id: 1
|
|
repo_id: 1
|
|
name: milestone1
|
|
content: content1
|
|
is_closed: false
|
|
num_issues: 1
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 1
|
|
name: milestone2
|
|
content: content2
|
|
is_closed: false
|
|
num_issues: 0
|
|
|
|
-
|
|
id: 3
|
|
repo_id: 1
|
|
name: milestone3
|
|
content: content3
|
|
is_closed: true
|
|
num_issues: 0
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 42
|
|
name: milestone of repo42
|
|
content: content random
|
|
is_closed: false
|
|
num_issues: 0
|