Skip to content

Commit c6e9131

Browse files
committed
updated pm and changed bxml test
1 parent d1e5347 commit c6e9131

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
<dependency>
180180
<groupId>org.projectlombok</groupId>
181181
<artifactId>lombok</artifactId>
182-
<version>1.18.8</version>
182+
<version>1.18.20</version>
183183
</dependency>
184184

185185
<dependency>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ 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"
471+
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
472472
+ "<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";
@@ -479,7 +479,7 @@ public void testGenerateBxmlTwoParams() {
479479
public void testGenerateBxmlThreeParams() {
480480
String response = WebRtcTransfer.generateBxml("asdf","c-93d6f3c0-be584596-0b74-4fa2-8015-d8ede84bd1a4", "sip1:sipx.webrtc.bandwidth.com:5060");
481481
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
482-
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Transfer>\n"
482+
+ "<Response><Transfer>\n"
483483
+ "\t<SipUri uui=\"93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt\">sip1:sipx.webrtc.bandwidth.com:5060</SipUri>\n"
484484
+ "</Transfer></Response>\n";
485485
assertEquals("BXML strings are equal", expected, response);

0 commit comments

Comments
 (0)