We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b704e1 commit 06dd757Copy full SHA for 06dd757
tests/Psr18/URLExtractorTest.php
@@ -13,7 +13,7 @@
13
use chillerlan\HTTP\Psr18\URLExtractor;
14
use chillerlan\HTTP\Psr7\Request;
15
use function defined;
16
-use const CURLOPT_FOLLOWLOCATION;
+use const CURLOPT_FOLLOWLOCATION, CURLOPT_MAXREDIRS;
17
18
/**
19
* @group slow
@@ -25,7 +25,10 @@ class URLExtractorTest extends HTTPClientTestAbstract{
25
protected function setUp():void{
26
parent::setUp();
27
28
- $this->options->curl_options = [CURLOPT_FOLLOWLOCATION => false];
+ $this->options->curl_options = [
29
+ CURLOPT_FOLLOWLOCATION => false,
30
+ CURLOPT_MAXREDIRS => 25,
31
+ ];
32
33
$this->http = new URLExtractor($this->options);
34
}
0 commit comments