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
@test public void receiveRawValidations() { assertThat(jersey.target("receiveraw").request().header("c11n-key", null).get().getStatus()) .describedAs("key header cannot be null") .isEqualTo(400);
assertThat(jersey.target("receiveraw").request().get().getStatus()).isEqualTo(400); assertThat(jersey.target("receiveraw").request().header("c11n-key", "notbase64").get().getStatus()) .describedAs("key header must be valid base64") .isEqualTo(400); String validBase64Encoded = Base64.getEncoder().encodeToString("VALIDKEY".getBytes()); assertThat( jersey.target("receiveraw") .request() .header("c11n-key", validBase64Encoded) .header("c11n-to", "notbase64") .get() .getStatus()) .describedAs("to header must be valid base64") .isEqualTo(400);
}
The text was updated successfully, but these errors were encountered:
removed todos and created issue see Consensys#1424
a5b39f0
Signed-off-by: Sally MacFarlane <[email protected]>
Revert "removed todos and created issue see Consensys#1424"
7848d3d
This reverts commit a5b39f0.
a9462f7
No branches or pull requests
@test
public void receiveRawValidations() {
assertThat(jersey.target("receiveraw").request().header("c11n-key", null).get().getStatus())
.describedAs("key header cannot be null")
.isEqualTo(400);
}
The text was updated successfully, but these errors were encountered: