repository: make repo.Options configurable for test repos

This commit is contained in:
Michael Eischer 2024-02-03 17:47:36 +01:00
parent bb92b487f7
commit 16e3f79e8b
5 changed files with 9 additions and 9 deletions

View file

@ -69,7 +69,7 @@ func TestUpgradeRepoV2Failure(t *testing.T) {
Backend: be,
}
repo := repository.TestRepositoryWithBackend(t, be, 1)
repo := repository.TestRepositoryWithBackend(t, be, 1, repository.Options{})
if repo.Config().Version != 1 {
t.Fatal("test repo has wrong version")
}