Skip to content

Commit

Permalink
Attempt to fix jsob-reactive integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lwitkowski committed Oct 24, 2023
1 parent affd940 commit 5e3cdff
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void constraintViolationShouldProvideErrorDetails() {
void constraintViolationForArgumentsShouldProvideErrorDetails() {
given()
.contentType(APPLICATION_JSON)
.body(new InvalidPayload())
.body("{\"phraseName\": 1}")
.queryParam("param_name", "invalidQueryParam")
.queryParam("param_name2", "validQueryParam")
.header("param_name3", "invalidHeaderParam")
Expand All @@ -88,7 +88,4 @@ void constraintViolationForArgumentsShouldProvideErrorDetails() {
.body("violations.find{it.in == 'body'}.message", equalTo("must be greater than or equal to 15"));
}

public static class InvalidPayload {
public int phraseName = 1;
}
}

0 comments on commit 5e3cdff

Please sign in to comment.