When testing for an error code in a servlet (e.g. 400, 403, etc). our current tests check that the response status matches the error code. However, the tests do not check that no other response was sent (i.e. the servlet returned after sending the error).
Fix these tests / investigate if this is the case.
When testing for an error code in a servlet (e.g. 400, 403, etc). our current tests check that the response status matches the error code. However, the tests do not check that no other response was sent (i.e. the servlet returned after sending the error).
Fix these tests / investigate if this is the case.