Skip to content

Commit d15302a

Browse files
Fixed expected BXML string
1 parent e2b7c2f commit d15302a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/BxmlTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public function testRecord() {
402402
$response = new BandwidthLib\Voice\Bxml\Response();
403403
$response->addVerb($record);
404404

405-
$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>';
405+
$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>';
406406
$responseXml = $response->toBxml();
407407
$this->assertEquals($expectedXml, $responseXml);
408408
}

0 commit comments

Comments
 (0)