From e94a68fee5f7b16a35b171e80431c064200faecf Mon Sep 17 00:00:00 2001 From: Zeort Date: Wed, 15 Nov 2023 17:02:50 +0200 Subject: [PATCH] fix json matcher --- tests/e2e/matchers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/matchers_test.go b/tests/e2e/matchers_test.go index 4e507aefc..82e32d6a5 100644 --- a/tests/e2e/matchers_test.go +++ b/tests/e2e/matchers_test.go @@ -222,7 +222,7 @@ func (m *haveRelationshipMatcher) dataHaveKeyMatcher() types.GomegaMatcher { type validJSONObjectMatcher struct{} func (matcher *validJSONObjectMatcher) Match(actual interface{}) (bool, error) { - decoded := map[string]string{} + decoded := map[string]any{} var body []byte switch b := actual.(type) { case []byte: