1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Fix the logic of finding the latest pull review commit ID (#32139)

Fix #31423
This commit is contained in:
Zettat123
2024-10-01 09:58:55 +08:00
committed by GitHub
parent 13283873e9
commit f4b8f6fc40
11 changed files with 88 additions and 11 deletions

View File

@@ -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 {