aboutsummaryrefslogtreecommitdiffstats
path: root/models/db/iterate_test.go
diff options
context:
space:
mode:
authorNick <nick.guenther@polymtl.ca>2022-12-22 18:41:56 -0500
committerGitHub <noreply@github.com>2022-12-23 07:41:56 +0800
commita2779def36590518157c4315a02e7cbaefcecb92 (patch)
treeb7f9071ed8343842436eee5679c516dd8c982764 /models/db/iterate_test.go
parentea5a752ee66f5f8dccbc058c4e1220e24e01b3e8 (diff)
downloadgitea-a2779def36590518157c4315a02e7cbaefcecb92.tar.gz
gitea-a2779def36590518157c4315a02e7cbaefcecb92.zip
Test views of LFS files (#22196)
Diffstat (limited to 'models/db/iterate_test.go')
-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 57b1bd3cd1..63487afa49 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, 80, repoCnt)
+ assert.EqualValues(t, 81, repoCnt)
err = db.Iterate(db.DefaultContext, nil, func(ctx context.Context, repoUnit *repo_model.RepoUnit) error {
reopUnit2 := repo_model.RepoUnit{ID: repoUnit.ID}