diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 2a5244a..d621ee3 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -88,7 +88,7 @@ public function testCreateCallAndGetCallState() { $this->assertTrue(strlen($callId) > 0); $this->assertTrue(is_a($response->getResult()->enqueuedTime, 'DateTime')); - sleep(15); + sleep(20); //get phone call information $response = $this->bandwidthClient->getVoice()->getClient()->getCall(getenv("BW_ACCOUNT_ID"), $callId); @@ -120,7 +120,7 @@ public function testCreateCallWithAmdAndGetCallState() { $callId = $response->getResult()->callId; $this->assertTrue(strlen($callId) > 0); - sleep(15); + sleep(20); //get phone call information $response = $this->bandwidthClient->getVoice()->getClient()->getCall(getenv("BW_ACCOUNT_ID"), $callId);