fixing tests
This commit is contained in:
@@ -80,6 +80,8 @@ class UnirestTest extends UnitTestCase
|
|||||||
|
|
||||||
$this->expectException();
|
$this->expectException();
|
||||||
$response = Unirest::get("http://httpbin.org/delay/3");
|
$response = Unirest::get("http://httpbin.org/delay/3");
|
||||||
|
|
||||||
|
Unirest::timeout(null); // Cleaning timeout for the other tests
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testTimeoutSuccess()
|
public function testTimeoutSuccess()
|
||||||
|
|||||||
Reference in New Issue
Block a user