Skip to content

Commit 31786db

Browse files
committed
fixed authentication after refactoring
1 parent 197c7ee commit 31786db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/RestcommAccountsTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public JsonObject updateAccount (String deploymentUrl, String adminUsername, Str
8383

8484
public Response updateAccountResponse (String deploymentUrl, String adminUsername, String adminAuthToken, String accountSid, String friendlyName, String password, String authToken, String role, String status) {
8585
Client jerseyClient = ClientBuilder.newClient();
86-
jerseyClient.register(HttpAuthenticationFeature.basic(adminUsername, password));
86+
jerseyClient.register(HttpAuthenticationFeature.basic(adminUsername, adminAuthToken));
8787

8888
String url = getAccountsUrl(deploymentUrl, false) + "/" + accountSid;
8989

0 commit comments

Comments
 (0)