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.
2 parents e96a821 + 248134b commit 657d1e4Copy full SHA for 657d1e4
src/ServiceProvider.php
@@ -2,7 +2,6 @@
2
3
namespace Inertia;
4
5
-use Illuminate\Foundation\Testing\TestResponse as LegacyTestResponse;
6
use Illuminate\Http\Request;
7
use Illuminate\Routing\Router;
8
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
@@ -99,13 +98,6 @@ protected function registerTestingMacros(): void
99
98
return;
100
}
101
102
- // Laravel <= 6.0
103
- if (class_exists(LegacyTestResponse::class)) {
104
- LegacyTestResponse::mixin(new TestResponseMacros);
105
-
106
- return;
107
- }
108
109
throw new LogicException('Could not detect TestResponse class.');
110
111
0 commit comments