summaryrefslogtreecommitdiff
path: root/test/integration/container_test.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-14 07:18:35 -0600
committermo khan <mo@mokhan.ca>2025-05-14 07:18:35 -0600
commite0882e69c350a685c586a00d72a92e306374c146 (patch)
tree663f69ffb883f29bc14594f80333eab8907e7ded /test/integration/container_test.go
parente271fcfaf93547621a7f58d1bdef49b569ceb4f8 (diff)
test: use generic type
Diffstat (limited to 'test/integration/container_test.go')
-rw-r--r--test/integration/container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/container_test.go b/test/integration/container_test.go
index 6c371ba..2d68236 100644
--- a/test/integration/container_test.go
+++ b/test/integration/container_test.go
@@ -74,7 +74,7 @@ func TestContainer(t *testing.T) {
response := HttpGet(t, ctx, envoyAdminEndpoint+"/config_dump")
require.Equal(t, http.StatusOK, response.StatusCode)
- body := JSONBody(t, response)
+ body := JSONBody[map[string]interface{}](t, response)
assert.NotEmpty(t, "listener_0", body["configs"])
})