Skip to content

Commit 8f69902

Browse files
committed
Update callback urls
1 parent c7eccbe commit 8f69902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/bandwidth/ApiTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void testCreateCallAndGetCallState() throws Exception {
128128
String to = System.getenv("USER_NUMBER");
129129
String from = System.getenv("BW_NUMBER");
130130
String applicationId = System.getenv("BW_VOICE_APPLICATION_ID");
131-
String answerUrl = System.getenv("VOICE_CALLBACK_URL");
131+
String answerUrl = System.getenv("BASE_CALLBACK_URL").concat("/callbacks/outbound");
132132

133133
CreateCallRequest body = new CreateCallRequest();
134134
body.setTo(to);
@@ -156,7 +156,7 @@ public void testCreateCallInvalidPhoneNumber() throws Exception {
156156
String to = "+1invalid";
157157
String from = System.getenv("BW_NUMBER");
158158
String applicationId = System.getenv("BW_VOICE_APPLICATION_ID");
159-
String answerUrl = System.getenv("VOICE_CALLBACK_URL");
159+
String answerUrl = System.getenv("BASE_CALLBACK_URL").concat("/callbacks/outbound");
160160

161161
CreateCallRequest body = new CreateCallRequest();
162162
body.setTo(to);

0 commit comments

Comments
 (0)