@@ -49,6 +49,7 @@ protected function setUp()
49
49
CURLOPT_POST => true ,
50
50
CURLOPT_POSTFIELDS => array (),
51
51
CURLOPT_RETURNTRANSFER => true ,
52
+ CURLOPT_TIMEOUT => 30 ,
52
53
));
53
54
54
55
$ resp = curl_exec ($ startApiCurl );
@@ -112,7 +113,8 @@ public function testBrowsers($browserId, $browserVersion, $options)
112
113
CURLOPT_HTTPHEADER => array (
113
114
"Content-Type: application/json " ,
114
115
"Content-Length: " . strlen ($ dataString )
115
- )
116
+ ),
117
+ CURLOPT_TIMEOUT => 30 ,
116
118
));
117
119
118
120
$ resp = curl_exec ($ getSubscriptionCurl );
@@ -148,7 +150,8 @@ public function testBrowsers($browserId, $browserVersion, $options)
148
150
CURLOPT_HTTPHEADER => array (
149
151
"Content-Type: application/json " ,
150
152
"Content-Length: " . strlen ($ dataString )
151
- )
153
+ ),
154
+ CURLOPT_TIMEOUT => 30 ,
152
155
));
153
156
$ resp = curl_exec ($ getNotificationCurl );
154
157
@@ -187,7 +190,8 @@ protected function tearDown()
187
190
CURLOPT_HTTPHEADER => array (
188
191
"Content-Type: application/json " ,
189
192
"Content-Length: " . strlen ($ dataString )
190
- )
193
+ ),
194
+ CURLOPT_TIMEOUT => 30 ,
191
195
));
192
196
$ resp = curl_exec ($ curl );
193
197
$ parsedResp = json_decode ($ resp );
0 commit comments