Skip to content

Commit

Permalink
Update http-server-undertow/src/test/groovy/io/micronaut/servlet/unde…
Browse files Browse the repository at this point in the history
…rtow/UndertowErrorSpec.groovy

Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
  • Loading branch information
wetted and sdelamo authored Nov 10, 2023
1 parent d4cf693 commit 7e3457f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class UndertowErrorSpec extends Specification {
client.toBlocking().exchange("/errors/stream-immediate", String)

then:
HttpClientResponseException ex = thrown(HttpClientResponseException)
HttpClientResponseException ex = thrown()
ex.status == HttpStatus.INTERNAL_SERVER_ERROR
ex.response.body.orElseThrow() == "Internal Server Error: Immediate error"
}
Expand Down

0 comments on commit 7e3457f

Please sign in to comment.