Skip to content

Commit

Permalink
follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 3, 2023
1 parent 1567497 commit d440d9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/itest/UploadRecordingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public static void createRecording() throws Exception {
"/api/v1/targets/%s/recordings",
getSelfReferenceConnectUrlEncoded()))
.basicAuthentication("user", "pass")
.followRedirects(true)
.sendForm(
form,
ar -> {
Expand All @@ -88,6 +89,7 @@ public static void deleteRecording() throws Exception {
"/api/v1/targets/%s/recordings/%s",
getSelfReferenceConnectUrlEncoded(), RECORDING_NAME))
.basicAuthentication("user", "pass")
.followRedirects(true)
.send(
ar -> {
if (assertRequestStatus(ar, deleteRespFuture)) {
Expand All @@ -113,6 +115,7 @@ public void shouldLoadRecordingToDatasource() throws Exception {
"/api/v1/targets/%s/recordings/%s/upload",
getSelfReferenceConnectUrlEncoded(), RECORDING_NAME))
.basicAuthentication("user", "pass")
.followRedirects(true)
.send(
ar -> {
if (assertRequestStatus(ar, uploadRespFuture)) {
Expand Down

0 comments on commit d440d9e

Please sign in to comment.