mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:54:44 +01:00
cache: fix tests when testing for Object.SetMetadata
This commit is contained in:
parent
ce0d8a70a3
commit
5921bb0efd
2
backend/cache/cache_test.go
vendored
2
backend/cache/cache_test.go
vendored
@ -18,7 +18,7 @@ func TestIntegration(t *testing.T) {
|
||||
RemoteName: "TestCache:",
|
||||
NilObject: (*cache.Object)(nil),
|
||||
UnimplementableFsMethods: []string{"PublicLink", "OpenWriterAt", "OpenChunkWriter", "DirSetModTime", "MkdirMetadata"},
|
||||
UnimplementableObjectMethods: []string{"MimeType", "ID", "GetTier", "SetTier", "Metadata"},
|
||||
UnimplementableObjectMethods: []string{"MimeType", "ID", "GetTier", "SetTier", "Metadata", "SetMetadata"},
|
||||
UnimplementableDirectoryMethods: []string{"Metadata", "SetMetadata", "SetModTime"},
|
||||
SkipInvalidUTF8: true, // invalid UTF-8 confuses the cache
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user