Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jaxrs resource validation test should check status code not status info for equality #312

Open
buttso opened this issue Jun 19, 2015 · 0 comments

Comments

@buttso
Copy link

buttso commented Jun 19, 2015

The jax-rs resource-validation test uses an assertion that checks Response.StatusType for equality which may not be standard across implementations. ie reason phrase is not mandated - is that considered as part of the equality check? Should check the statusCode of the expected StatusType versus reponse.getStatusCode() to be more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant