repository: make repo.Options configurable for test repos
This commit is contained in:
parent
bb92b487f7
commit
16e3f79e8b
5 changed files with 9 additions and 9 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue