diff options
Diffstat (limited to 'lib/versioner/trashcan_test.go')
-rw-r--r-- | lib/versioner/trashcan_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/versioner/trashcan_test.go b/lib/versioner/trashcan_test.go index f90e856c4e..eb59f0954a 100644 --- a/lib/versioner/trashcan_test.go +++ b/lib/versioner/trashcan_test.go @@ -33,10 +33,8 @@ func TestTrashcanArchiveRestoreSwitcharoo(t *testing.T) { FilesystemType: fs.FilesystemTypeBasic, Path: tmpDir1, Versioning: config.VersioningConfiguration{ - Params: map[string]string{ - "fsType": "basic", - "fsPath": tmpDir2, - }, + FSType: fs.FilesystemTypeBasic, + FSPath: tmpDir2, }, } folderFs := cfg.Filesystem() @@ -101,6 +99,7 @@ func TestTrashcanArchiveRestoreSwitcharoo(t *testing.T) { } func readFile(t *testing.T, filesystem fs.Filesystem, name string) string { + t.Helper() fd, err := filesystem.Open(name) if err != nil { t.Fatal(err) |