File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/test/java/com/twilio/twiml Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,12 @@ public void testOptionsXML() throws TwiMLException {
6767 .timeout (8 )
6868 .conference (conference )
6969 .options ("foo" , "bar" )
70- .options ("fizz" , "buzz" )
7170 .number (number )
7271 .build ();
7372
7473
7574 Assert .assertEquals (
76- "<Dial hangupOnStar=\" true\" timeout=\" 8\" action=\" /dial\" method=\" POST\" callerId=\" +14155550000\" trim=\" trim-silence\" fizz= \" buzz \" foo=\" bar\" >" +
75+ "<Dial hangupOnStar=\" true\" timeout=\" 8\" action=\" /dial\" method=\" POST\" callerId=\" +14155550000\" trim=\" trim-silence\" foo=\" bar\" >" +
7776 "<Number>+18885551234</Number>" +
7877 "<Conference>conference</Conference>" +
7978 "</Dial>" , dial .toXml ());
@@ -94,10 +93,9 @@ public void testOptionsUrl() throws TwiMLException {
9493 .timeout (8 )
9594 .conference (conference )
9695 .options ("foo" , "bar" )
97- .options ("fizz" , "buzz" )
9896 .build ();
9997
100- Assert .assertEquals ("%3CDial+hangupOnStar%3D%22true%22+timeout%3D%228%22+action%3D%22%2Fdial%22+method%3D%22POST%22+callerId%3D%22%2B14155550000%22+trim%3D%22trim-silence%22+fizz%3D%22buzz%22+ foo%3D%22bar%22%3E%3CConference%3Econference%3C%2FConference%3E%3C%2FDial%3E" , dial .toUrl ());
98+ Assert .assertEquals ("%3CDial+hangupOnStar%3D%22true%22+timeout%3D%228%22+action%3D%22%2Fdial%22+method%3D%22POST%22+callerId%3D%22%2B14155550000%22+trim%3D%22trim-silence%22+foo%3D%22bar%22%3E%3CConference%3Econference%3C%2FConference%3E%3C%2FDial%3E" , dial .toUrl ());
10199
102100 }
103101}
You can’t perform that action at this time.
0 commit comments