Skip to content

Commit

Permalink
Fixed expected BXML string
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluisgomez committed May 17, 2023
1 parent e2b7c2f commit d15302a
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 @@ -402,7 +402,7 @@ public function testRecord() {
$response = new BandwidthLib\Voice\Bxml\Response();
$response->addVerb($record);

$expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><Record recordCompleteUrl="https://myapp.com/nextBXML" maxDuration="10" recordCompleteFallbackUrl="https://test.com" recordCompleteFallbackMethod="GET" fallbackUsername="fuser" fallbackPassword="fpass" delectLanguage="true"/></Response>';
$expectedXml = '<?xml version="1.0" encoding="UTF-8"?><Response><Record recordCompleteUrl="https://myapp.com/nextBXML" maxDuration="10" detectLanguage="true" recordCompleteFallbackUrl="https://test.com" recordCompleteFallbackMethod="GET" fallbackUsername="fuser" fallbackPassword="fpass"/></Response>';
$responseXml = $response->toBxml();
$this->assertEquals($expectedXml, $responseXml);
}
Expand Down

0 comments on commit d15302a

Please sign in to comment.