Skip to content

Commit e2b7c2f

Browse files
Raised the sleep time a bit more
1 parent e5123cc commit e2b7c2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Voice/Bxml/Record.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function toBxml($doc) {
229229
$element->setattribute("fileFormat", $this->fileFormat);
230230
}
231231

232-
if(isset($this->detectLanguage)) }
232+
if(isset($this->detectLanguage)) {
233233
if ($this->detectLanguage) {
234234
$element->setattribute("detectLanguage", "true");
235235
} else {

tests/ApiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testCreateCallAndGetCallState() {
8888
$this->assertTrue(strlen($callId) > 0);
8989
$this->assertTrue(is_a($response->getResult()->enqueuedTime, 'DateTime'));
9090

91-
sleep(15);
91+
sleep(25);
9292

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

123-
sleep(15);
123+
sleep(25);
124124

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

0 commit comments

Comments
 (0)