We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This extension supports responding with a "problem"
There is one more case:
@QuarkusTest public class TestResourceIT { ... @Test void restrictedAuthenticationInvalid() { given() .auth() .preemptive() .basic("scott", "wrongpass") .when() .get("/test/restricted") .then() .statusCode(UNAUTHORIZED.getStatusCode()) .body("status", is(UNAUTHORIZED.getStatusCode())); }
For time being, this extension seems not to catch this case, an empty body (401 HTTP status code) is being returned.
Feature request Please add to this extension, that if a given authentication is invalid, a valid API "problem" will be returned.
The text was updated successfully, but these errors were encountered:
I've noticed that too. I'm gonna go check it out.
Sorry, something went wrong.
No branches or pull requests
This extension supports responding with a "problem"
There is one more case:
Imagine one more test in TestResourceIT:
For time being, this extension seems not to catch this case, an empty body (401 HTTP status code) is being returned.
Feature request
Please add to this extension, that if a given authentication is invalid, a valid API "problem" will be returned.
The text was updated successfully, but these errors were encountered: