File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -354,17 +354,17 @@ public function testStopRecording() {
354354 public function testStartStream () {
355355 $ startStream = new BandwidthLib \Voice \Bxml \StartStream ();
356356 $ startStream ->name ("test " );
357+ $ startStream ->tracks ("inbound " );
357358 $ startStream ->destination ("https://url.com " );
358359 $ startStream ->streamEventMethod ("POST " );
359360 $ startStream ->username ("user " );
360361 $ startStream ->password ("pass " );
361362 $ startStream ->streamEventUrl ("https://url.com " );
362-
363363
364364 $ response = new BandwidthLib \Voice \Bxml \Response ();
365365 $ response ->addVerb ($ startStream );
366366
367- $ expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><StartStream destination="https://url.com" name="test" username="user" *** streamEventUrl="https://url.com" streamEventMethod="POST"/></Response> ' ;
367+ $ expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><StartStream destination="https://url.com" name="test" tracks="inbound" username="user" *** streamEventUrl="https://url.com" streamEventMethod="POST"/></Response> ' ;
368368 $ responseXml = $ response ->toBxml ();
369369 $ this ->assertEquals ($ expectedXml , $ responseXml );
370370 }
You can’t perform that action at this time.
0 commit comments