mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:14:42 +01:00
fstests: Fix TestObjectRemove failures
This was failing because TestPublicLink was causing the file to be modified with Google drive.
This commit is contained in:
parent
c749cf8d99
commit
32e02bd367
@ -1010,7 +1010,8 @@ func TestObjectRemove(t *testing.T) {
|
||||
obj := findObject(t, file1.Path)
|
||||
err := obj.Remove()
|
||||
require.NoError(t, err)
|
||||
fstest.CheckListing(t, remote, []fstest.Item{file2})
|
||||
// check listing without modtime as TestPublicLink may change the modtime
|
||||
fstest.CheckListingWithPrecision(t, remote, []fstest.Item{file2}, nil, fs.ModTimeNotSupported)
|
||||
}
|
||||
|
||||
// TestFsPutStream tests uploading files when size is not known in advance
|
||||
|
Loading…
Reference in New Issue
Block a user