summaryrefslogtreecommitdiff
path: root/tests/Unit/RouteCallTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/RouteCallTest.php')
-rw-r--r--tests/Unit/RouteCallTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/RouteCallTest.php b/tests/Unit/RouteCallTest.php
index 70cc50e..ece0b91 100644
--- a/tests/Unit/RouteCallTest.php
+++ b/tests/Unit/RouteCallTest.php
@@ -8,7 +8,7 @@ use Lightscale\Router\RouteCall;
use Nyholm\Psr7\Factory\Psr17Factory;
it('initializes with data', function () {
- $factory = new Psr17Factory;
+ $factory = new Psr17Factory();
$call = new RouteCall(
request: $req = $factory->createServerRequest(HttpMethod::Get->value, '/test/test'),
route: $route = new Route(HttpMethod::Get, fn () => null),