From 4f5b3162117e69f730828ef7e197ff015df76970 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Fri, 21 Jan 2022 11:24:28 +0300 Subject: [PATCH] [#319] Fix tests Signed-off-by: Denis Kirillov --- api/layer/versioning_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/layer/versioning_test.go b/api/layer/versioning_test.go index c17213b84..3b8aba877 100644 --- a/api/layer/versioning_test.go +++ b/api/layer/versioning_test.go @@ -841,7 +841,12 @@ func TestDeleteSystemObjectsVersioning(t *testing.T) { tagging, err := tc.layer.GetBucketTagging(tc.ctx, tc.bkt) require.NoError(t, err) - require.Equal(t, tagSet, tagging) + + expectedTagSet := map[string]string{ + "tag1": "val1", + "tag2": "val2", + } + require.Equal(t, expectedTagSet, tagging) err = tc.layer.DeleteBucketTagging(tc.ctx, tc.bkt) require.NoError(t, err)