Test views of LFS files (#22196)

This commit is contained in:
Nick 2022-12-22 18:41:56 -05:00 committed by GitHub
parent ea5a752ee6
commit a2779def36
25 changed files with 174 additions and 2 deletions

View file

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