mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-05 23:56:09 +02:00
Appease PHPStan in UrlHelperTest
This commit is contained in:
parent
3c171cc92c
commit
9a1f7c2ebf
@ -80,7 +80,7 @@ final class UrlHelperTest extends TestCase {
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
|
||||
$mock->append(new Response(200, ['Content-Length' => PHP_INT_MAX]));
|
||||
$mock->append(new Response(200, ['Content-Length' => (string) PHP_INT_MAX]));
|
||||
$result = UrlHelper::fetch('https://www.example.com/very-large-content-length');
|
||||
$this->assertFalse($result);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user