From 01c769f7833d140b107ed958f6e87567d098607f Mon Sep 17 00:00:00 2001 From: Jeremy Grelle Date: Tue, 7 Nov 2023 18:30:01 -0500 Subject: [PATCH] Update test to correctly assert error with Servlet --- .../micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java b/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java index 857a2d08908..455c7e046da 100644 --- a/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java +++ b/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java @@ -83,7 +83,7 @@ void testErrorHandlerWithFluxChunkedSignaledDelayedError() throws IOException { asserts(SPEC_NAME, HttpRequest.GET("/errors/flux-chunked-delayed-error"), (server, request) -> { - Executable e = () -> server.exchange(request); + Executable e = () -> server.exchange(request, String[].class); Assertions.assertThrows(HttpClientException.class, e); }); }