mirror of
https://github.com/henrybear327/Proton-API-Bridge.git
synced 2026-04-29 02:32:37 -04:00
Fix integration test
This commit is contained in:
@@ -225,7 +225,7 @@ func downloadFile(t *testing.T, ctx context.Context, protonDrive *ProtonDrive, p
|
||||
if fileSystemAttr == nil {
|
||||
t.Fatalf("FileSystemAttr should not be nil")
|
||||
} else {
|
||||
if sizeOnServer == fileSystemAttr.Size {
|
||||
if fileSystemAttr.Size != 0 && sizeOnServer == fileSystemAttr.Size {
|
||||
t.Fatalf("Not possible due to encryption file overhead")
|
||||
}
|
||||
if len(downloadedData) != int(fileSystemAttr.Size) {
|
||||
|
||||
Reference in New Issue
Block a user