mirror of
https://github.com/go-gitea/gitea
synced 2024-11-08 03:04:29 +00:00
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
32 lines
406 B
YAML
32 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
|