Skip to content

Commit 977709e

Browse files
Bxml update
1 parent ae8c1eb commit 977709e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/com/bandwidth/sdk/api/TranscriptionsApiTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class TranscriptionsApiTest {
6767
private static CreateCall createMantecaCallBody = new CreateCall();
6868
private static UpdateCall completeMantecaCallBody = new UpdateCall();
6969
private static URI mantecaAnswerUrl;
70-
private static String bxmlBody = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Bxml><SpeakSentence locale=\"en_US\" gender=\"female\" voice=\"susan\">This is a bxml start transcription test.</SpeakSentence><StartTranscription tracks=\"both\"></StartTranscription><SpeakSentence voice=\"bridget\">Ideally this part is being transcribed.</SpeakSentence><Pause duration=\"3\"/></Response></Bxml>";
70+
private static String bxmlBody = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Bxml><SpeakSentence locale=\"en_US\" gender=\"female\" voice=\"susan\">This is a bxml start transcription test.</SpeakSentence><StartTranscription tracks=\"both\"></StartTranscription><SpeakSentence voice=\"bridget\">Ideally this part is being transcribed.</SpeakSentence><Pause duration=\"3\"/></Bxml>";
7171
private static int TEST_SLEEP = 6;
7272

7373

@@ -86,8 +86,7 @@ public void getAndDeleteRealTimeTranscriptionsTest() throws ApiException, Interr
8686

8787
// This is just creating the call, modifying with StartTranscript, and ending it so we can test the transcription below.
8888
TimeUnit.SECONDS.sleep(TEST_SLEEP);
89-
ApiResponse<CreateCallResponse> createCallResponse = callsApi.createCallWithHttpInfo(BW_ACCOUNT_ID,
90-
createMantecaCallBody);
89+
ApiResponse<CreateCallResponse> createCallResponse = callsApi.createCallWithHttpInfo(BW_ACCOUNT_ID, createMantecaCallBody);
9190

9291
assertThat(createCallResponse.getStatusCode(), is(201));
9392

0 commit comments

Comments
 (0)