Fixed test, minor UI changes

This commit is contained in:
Marc Ole Bulling
2022-03-08 18:49:04 +01:00
parent 26f542f8f2
commit 83e4e4a39c
2 changed files with 15 additions and 5 deletions
@@ -38,10 +38,12 @@ func TestSetUpgradeConfigFileV8(t *testing.T) {
}
func TestWriteEncryptedFile(t *testing.T) {
datastorage.Init("./test/filestorage.db")
fileId := WriteEncryptedFile()
file, ok := datastorage.GetMetaDataById(fileId)
test.IsEqualBool(t, ok, true)
test.IsEqualString(t, file.Id, fileId)
datastorage.Close()
}
func TestEnableS3(t *testing.T) {