Skip to content

Commit

Permalink
add auth to requests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 3, 2023
1 parent 78462b6 commit 1567497
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 @@ -63,6 +63,7 @@ public static void createRecording() throws Exception {
String.format(
"/api/v1/targets/%s/recordings",
getSelfReferenceConnectUrlEncoded()))
.basicAuthentication("user", "pass")
.sendForm(
form,
ar -> {
Expand All @@ -86,6 +87,7 @@ public static void deleteRecording() throws Exception {
String.format(
"/api/v1/targets/%s/recordings/%s",
getSelfReferenceConnectUrlEncoded(), RECORDING_NAME))
.basicAuthentication("user", "pass")
.send(
ar -> {
if (assertRequestStatus(ar, deleteRespFuture)) {
Expand All @@ -110,6 +112,7 @@ public void shouldLoadRecordingToDatasource() throws Exception {
String.format(
"/api/v1/targets/%s/recordings/%s/upload",
getSelfReferenceConnectUrlEncoded(), RECORDING_NAME))
.basicAuthentication("user", "pass")
.send(
ar -> {
if (assertRequestStatus(ar, uploadRespFuture)) {
Expand Down

0 comments on commit 1567497

Please sign in to comment.