build, lib/model: Add flag to run tests without -short and fix failure (#7716)

This commit is contained in:
Simon Frei
2021-05-28 22:20:18 +02:00
committed by GitHub
parent fbaf696821
commit fcb19518c7
2 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -1472,9 +1472,9 @@ func (m *model) ccCheckEncryption(fcfg config.FolderConfiguration, folderDevice
if !(hasTokenRemote || hasTokenLocal) {
if isEncryptedRemote {
return errEncryptionPlainForReceiveEncrypted
} else {
return errEncryptionPlainForRemoteEncrypted
} else {
return errEncryptionPlainForReceiveEncrypted
}
}