mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 13:04:08 +02:00
Fix the logic of finding the latest pull review commit ID (#32139)
Fix #31423
This commit is contained in:
1 parent
13283873e9
commit
f4b8f6fc40
11 files changed
+88
-11
No files matched your search
@@ -38,7 +38,7 @@ func TestAPIPullReview(t *testing.T) {
|
||||
|
||||
var reviews []*api.PullReview
|
||||
DecodeJSON(t, resp, &reviews)
|
||||
if !assert.Len(t, reviews, 6) {
|
||||
if !assert.Len(t, reviews, 8) {
|
||||
return
|
||||
}
|
||||
for _, r := range reviews {
|
||||
|
||||
Reference in new issue
Block a user