Closed WhiteCat22 closed 3 months ago
@WhiteCat22 Could you address the comments pls?
I have some failures locally in the other related tests. So I don't think I can re-use this existing application for this test.
I broke out the test into a new test and application to avoid breaking existing tests.
@alwin-joseph Could you verify the new version?
@alwin-joseph Could you verify the new version?
New test passes with Glassfish8.
Addressed James' comments. Also, I tested this against OpenLiberty and it passes.
@alwin-joseph Thank you!
The
nomapper
tests seem to test the defaultExceptionMapper
, however, we could use a test to verify that the defaultExceptionMapper
can be overridden.This test overrides the default
ExceptionMapper
to return status HTTP 512 instead of HTTP 500 and the test client verifies that status HTTP 512 is returned.