Switch the database from LevelDB to SQLite, for greater stability and simpler code. Co-authored-by: Tommy van der Vorst <tommy@pixelspark.nl> Co-authored-by: bt90 <btom1990@googlemail.com>
This commit is contained in:
co-authored by
Tommy van der Vorst
bt90
parent
b1c8f88a44
commit
025905fcdf
@@ -34,7 +34,7 @@ func TestTrashcanArchiveRestoreSwitcharoo(t *testing.T) {
|
||||
FSPath: tmpDir2,
|
||||
},
|
||||
}
|
||||
folderFs := cfg.Filesystem(nil)
|
||||
folderFs := cfg.Filesystem()
|
||||
|
||||
versionsFs := fs.NewFilesystem(fs.FilesystemTypeBasic, tmpDir2)
|
||||
|
||||
@@ -113,7 +113,7 @@ func TestTrashcanRestoreDeletedFile(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
folderFs := cfg.Filesystem(nil)
|
||||
folderFs := cfg.Filesystem()
|
||||
|
||||
versionsFs := fs.NewFilesystem(fs.FilesystemTypeBasic, tmpDir2)
|
||||
|
||||
@@ -209,7 +209,7 @@ func TestTrashcanCleanOut(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
fs := cfg.Filesystem(nil)
|
||||
fs := cfg.Filesystem()
|
||||
|
||||
v := newTrashcan(cfg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user