remove usages of repo.Backend() from tests

This commit is contained in:
Michael Eischer committed 2024-05-18 21:42:51 +02:00
1 parent aa4647f773
commit 8a425c2f0a
18 files changed
+96 -95

No files matched your search

+1 -1
View File
@@ -1970,7 +1970,7 @@ func TestArchiverContextCanceled(t *testing.T) {
})
// Ensure that the archiver itself reports the canceled context and not just the backend
repo := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0, repository.Options{})
repo, _ := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0, repository.Options{})
back := rtest.Chdir(t, tempdir)
defer back()