Skip to content

Commit d1e5347

Browse files
committed
declaration tag checks
1 parent e997dac commit d1e5347

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/bandwidth/BxmlTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void testNestedGatherSingleVerb() {
186186
public void testResponse() {
187187
String response = new Response()
188188
.toBXML();
189-
String expected = "<Response/>";
189+
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response/>";
190190

191191
assertEquals("BXML strings not equal", expected, response);
192192
}
@@ -468,8 +468,8 @@ public void testStartGather() {
468468
@Test
469469
public void testGenerateBxmlTwoParams() {
470470
String response = WebRtcTransfer.generateBxml("asdf","c-93d6f3c0-be584596-0b74-4fa2-8015-d8ede84bd1a4");
471-
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
472-
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Transfer>\n"
471+
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
472+
+ "<Response><Transfer>\n"
473473
+ "\t<SipUri uui=\"93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt\">sip:sipx.webrtc.bandwidth.com:5060</SipUri>\n"
474474
+ "</Transfer></Response>\n";
475475
assertEquals("BXML strings are equal", expected, response);

0 commit comments

Comments
 (0)