From 5921bb0efd314f229438b5911715e512922ab9d7 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 8 Jun 2024 10:35:36 +0100 Subject: [PATCH] cache: fix tests when testing for Object.SetMetadata --- backend/cache/cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/cache/cache_test.go b/backend/cache/cache_test.go index 41ed7e48c..764a1489a 100644 --- a/backend/cache/cache_test.go +++ b/backend/cache/cache_test.go @@ -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 })