Skip to content

Commit

Permalink
Raised the sleep time a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluisgomez committed May 17, 2023
1 parent e5123cc commit e2b7c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Voice/Bxml/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function toBxml($doc) {
$element->setattribute("fileFormat", $this->fileFormat);
}

if(isset($this->detectLanguage)) }
if(isset($this->detectLanguage)) {
if ($this->detectLanguage) {
$element->setattribute("detectLanguage", "true");
} else {
Expand Down
4 changes: 2 additions & 2 deletions tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function testCreateCallAndGetCallState() {
$this->assertTrue(strlen($callId) > 0);
$this->assertTrue(is_a($response->getResult()->enqueuedTime, 'DateTime'));

sleep(15);
sleep(25);

//get phone call information
$response = $this->bandwidthClient->getVoice()->getClient()->getCall(getenv("BW_ACCOUNT_ID"), $callId);
Expand Down Expand Up @@ -120,7 +120,7 @@ public function testCreateCallWithAmdAndGetCallState() {
$callId = $response->getResult()->callId;
$this->assertTrue(strlen($callId) > 0);

sleep(15);
sleep(25);

//get phone call information
$response = $this->bandwidthClient->getVoice()->getClient()->getCall(getenv("BW_ACCOUNT_ID"), $callId);
Expand Down

0 comments on commit e2b7c2f

Please sign in to comment.