Skip to content

Commit

Permalink
Add back the payload in the IT test to the request
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Aug 16, 2023
1 parent 2f534bc commit 95cc966
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ public void testAsyncRepair() throws IOException, URISyntaxException, Interrupte
String requestAsJSON = WriterUtility.asString(repairRequest, MediaType.APPLICATION_JSON);

Pair<Integer, String> repairResponse =
client.post(repairUri.toURL(), null).thenApply(this::responseAsCodeAndBody).join();
client.post(repairUri.toURL(), requestAsJSON).thenApply(this::responseAsCodeAndBody).join();
assertThat(repairResponse.getLeft()).isEqualTo(HttpStatus.SC_ACCEPTED);
String jobId = repairResponse.getRight();
assertThat(jobId).isNotEmpty();
Expand Down

0 comments on commit 95cc966

Please sign in to comment.