Skip to content

Commit

Permalink
removed todos and created issue see Consensys#1424
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <[email protected]>
  • Loading branch information
macfarla committed Apr 4, 2022
1 parent 7848d3d commit a9462f7
Showing 1 changed file with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,31 +592,4 @@ public void validationReceiveIsRawMustBeBoolean() {
assertThat(response.getStatus()).isEqualTo(400);
}
*/

/*
@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);
}
*/

}

0 comments on commit a9462f7

Please sign in to comment.