Skip to content

Commit

Permalink
Update BxmlTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluisgomez committed Sep 15, 2022
1 parent f546667 commit 1a86eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/BxmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public function testStartStream() {
$response = new BandwidthLib\Voice\Bxml\Response();
$response->addVerb($startStream);

$expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><StartStream destination="https://url.com" name="test" tracks="inbound" username="user" password="pass" streamEventUrl="https://url.com" streamEventMethod="POST"><StreanParam name="name1" value="value1"/><StreanParam name="name2" value="value2"/></StartStream></Response>';
$expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><StartStream destination="https://url.com" name="test" tracks="inbound" username="user" password="pass" streamEventUrl="https://url.com" streamEventMethod="POST"><StreamParam name="name1" value="value1"/><StreamParam name="name2" value="value2"/></StartStream></Response>';
$responseXml = $response->toBxml();
$this->assertEquals($expectedXml, $responseXml);
}
Expand Down

0 comments on commit 1a86eeb

Please sign in to comment.