diff --git a/tests/integration/sync_test.go b/tests/integration/sync_test.go index 88ca0810c..9607f7505 100644 --- a/tests/integration/sync_test.go +++ b/tests/integration/sync_test.go @@ -4587,8 +4587,8 @@ func Test_Sync_ConsumerGroupsScopedPluginsKonnect(t *testing.T) { ignoreFields := []cmp.Option{ cmp.FilterValues(func(x, y interface{}) bool { // Apply this filtering when comparing maps - mapX, okX := x.(map[string]interface{}) - mapY, okY := y.(map[string]interface{}) + _, okX := x.(map[string]interface{}) + _, okY := y.(map[string]interface{}) return okX && okY }, cmpopts.IgnoreMapEntries(func(key string, value interface{}) bool { // Ignore the "redis" key in all comparisons