Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

operations: fix TestCaseInsensitiveMoveFileDryRun on chunker integration tests #7591

nielashf3680d222c1a
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.go
index 325db1748..57cf76d27 100644
--- a/fs/operations/operations_test.go
+++ b/fs/operations/operations_test.go
@@ -1005,10 +1005,10 @@ func TestCaseInsensitiveMoveFileDryRun(t *testing.T) {
return
}
- ci.DryRun = true
file1 := r.WriteObject(ctx, "hello", "world", t1)
r.CheckRemoteItems(t, file1)
+ ci.DryRun = true
err := operations.MoveFile(ctx, r.Fremote, r.Fremote, "HELLO", file1.Path)
require.NoError(t, err)
r.CheckRemoteItems(t, file1)