File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ public function testCreateCallAndGetCallState() {
85
85
$ response = $ this ->bandwidthClient ->getVoice ()->getClient ()->createCall (getenv ("BW_ACCOUNT_ID " ), $ body );
86
86
$ callId = $ response ->getResult ()->callId ;
87
87
$ this ->assertTrue (strlen ($ callId ) > 0 );
88
+
89
+ sleep (1 );
88
90
89
91
//get phone call information
90
92
$ response = $ this ->bandwidthClient ->getVoice ()->getClient ()->getCall (getenv ("BW_ACCOUNT_ID " ), $ callId );
@@ -113,6 +115,8 @@ public function testCreateCallWithAmdAndGetCallState() {
113
115
$ callId = $ response ->getResult ()->callId ;
114
116
$ this ->assertTrue (strlen ($ callId ) > 0 );
115
117
118
+ sleep (1 );
119
+
116
120
//get phone call information
117
121
$ response = $ this ->bandwidthClient ->getVoice ()->getClient ()->getCall (getenv ("BW_ACCOUNT_ID " ), $ callId );
118
122
$ this ->assertTrue (strlen ($ response ->getResult ()->state ) > 0 );
You can’t perform that action at this time.
0 commit comments