summaryrefslogtreecommitdiffstats
path: root/models/fixtures/review.yml
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-05-02 02:20:51 +0200
committerGitHub <noreply@github.com>2020-05-02 03:20:51 +0300
commitc97494a4f4a0e8ba5453e293bcebb76274062b99 (patch)
tree29511446fbdc0296f77390a6566d4ad1eef4668c /models/fixtures/review.yml
parent4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea (diff)
downloadgitea-c97494a4f4a0e8ba5453e293bcebb76274062b99.tar.gz
gitea-c97494a4f4a0e8ba5453e293bcebb76274062b99.zip
API: Add pull review endpoints (#11224)
* API: Added pull review read only endpoints * Update Structs, move Conversion, Refactor * refactor * lint & co * fix lint + refactor * add new Review state, rm unessesary, refacotr loadAttributes, convert patch to diff * add DeletePullReview * add paggination * draft1: Create & submit review * fix lint * fix lint * impruve test * DONT use GhostUser for loadReviewer * expose comments_count of a PullReview * infent GetCodeCommentsCount() * fixes * fix+impruve * some nits * Handle Ghosts :ghost: * add TEST for GET apis * complete TESTS * add HTMLURL to PullReview responce * code format as per @lafriks * update swagger definition * Update routers/api/v1/repo/pull_review.go Co-authored-by: David Svantesson <davidsvantesson@gmail.com> * add comments Co-authored-by: Thomas Berger <loki@lokis-chaos.de> Co-authored-by: David Svantesson <davidsvantesson@gmail.com>
Diffstat (limited to 'models/fixtures/review.yml')
-rw-r--r--models/fixtures/review.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/models/fixtures/review.yml b/models/fixtures/review.yml
index 87621012ff..35d3dee2e6 100644
--- a/models/fixtures/review.yml
+++ b/models/fixtures/review.yml
@@ -60,6 +60,8 @@
reviewer_id: 4
issue_id: 3
content: "New review 5"
+ commit_id: 8091a55037cd59e47293aca02981b5a67076b364
+ stale: true
updated_unix: 946684813
created_unix: 946684813
-
@@ -77,5 +79,6 @@
reviewer_id: 100
issue_id: 3
content: "a deleted user's review"
+ official: true
updated_unix: 946684815
- created_unix: 946684815 \ No newline at end of file
+ created_unix: 946684815