Skip to content

Commit 9378ca7

Browse files
Fixed bxml test
1 parent e50cb62 commit 9378ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class StartTranscriptionVerbTest {
5050
@Test
5151
public void startTranscriptionVerbWorks() throws JAXBException {
5252
JAXBContext jaxbContext = JAXBContext.newInstance(Bxml.class);
53-
String expectedBxml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><Bxml><StartTranscription name=\"stream1\" tracks=\"INBOUND\" destination=\"testurl.com\" transcriptionEventUrl=\"eventurl.com\" transcriptionEventMethod=\"POST\" username=\"user\" password=\"pass\"><CustomParam name=\"name1\" value=\"value1\"/><CustomParam name=\"name2\" value=\"value2\"/></StartTranscription></Bxml>";
53+
String expectedBxml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><Bxml><StartTranscription name=\"test_transcription\" tracks=\"INBOUND\" destination=\"testurl.com\" transcriptionEventUrl=\"eventurl.com\" transcriptionEventMethod=\"POST\" username=\"user\" password=\"pass\"><CustomParam name=\"name1\" value=\"value1\"/><CustomParam name=\"name2\" value=\"value2\"/></StartTranscription></Bxml>";
5454

5555
assertThat(new Bxml().with(startTranscription).toBxml(jaxbContext), is(expectedBxml));
5656
}

0 commit comments

Comments
 (0)