Skip to content

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

@buttso

Description

@buttso

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions