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 f4643df commit 11a8c93Copy full SHA for 11a8c93
tests/ResponseTest.php
@@ -364,6 +364,10 @@ public function test_responsable_with_invalid_key(): void
364
365
public function test_the_page_url_is_prefixed_with_the_proxy_prefix(): void
366
{
367
+ if (version_compare(app()->version(), '7', '<')) {
368
+ $this->markTestSkipped('This test requires Laravel 7 or higher.');
369
+ }
370
+
371
Request::setTrustedProxies(['1.2.3.4'], Request::HEADER_X_FORWARDED_PREFIX);
372
373
$request = Request::create('/user/123', 'GET');
0 commit comments