aboutsummaryrefslogtreecommitdiffstats
path: root/models/db
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-12-12 20:45:21 +0800
committerGitHub <noreply@github.com>2022-12-12 20:45:21 +0800
commit36a2d2f919ee445f0374c210309b336e7c3c1f8e (patch)
tree05163a55f16f3e62ab9e3757e5ada977e1fdd6da /models/db
parent6398ca745aabdc40f10465e71da99c5a3866990e (diff)
downloadgitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.tar.gz
gitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.zip
Add a simple test for external renderer (#20033)
Fix #16402
Diffstat (limited to 'models/db')
-rw-r--r--models/db/iterate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/db/iterate_test.go b/models/db/iterate_test.go
index b0ea8b53ef..57b1bd3cd1 100644
--- a/models/db/iterate_test.go
+++ b/models/db/iterate_test.go
@@ -25,7 +25,7 @@ func TestIterate(t *testing.T) {
return nil
})
assert.NoError(t, err)
- assert.EqualValues(t, 79, repoCnt)
+ assert.EqualValues(t, 80, repoCnt)
err = db.Iterate(db.DefaultContext, nil, func(ctx context.Context, repoUnit *repo_model.RepoUnit) error {
reopUnit2 := repo_model.RepoUnit{ID: repoUnit.ID}