diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-12-12 20:45:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 20:45:21 +0800 |
commit | 36a2d2f919ee445f0374c210309b336e7c3c1f8e (patch) | |
tree | 05163a55f16f3e62ab9e3757e5ada977e1fdd6da /models/db | |
parent | 6398ca745aabdc40f10465e71da99c5a3866990e (diff) | |
download | gitea-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.go | 2 |
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} |