From dbde7e855d5c5c5e6b25f91f65dc884d684a14a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20S=C5=82owik?= Date: Wed, 16 Sep 2020 16:57:48 +0200 Subject: [PATCH] Add missing `$strategy` parameter in a Route test The parameter got lost in b9eae847c0500c7cb6c7d9c8b460eb83899c8fec . --- tests/Routing/RouteTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Routing/RouteTest.php b/tests/Routing/RouteTest.php index 25491af03..e403b6c84 100644 --- a/tests/Routing/RouteTest.php +++ b/tests/Routing/RouteTest.php @@ -749,6 +749,7 @@ public function testChangingCallableWithNoContainer() ->shouldBeCalledOnce(); $callableResolver = new CallableResolver(); + $strategy = new InvocationStrategyTest(); $deferred = 'NonExistent:toCall'; $route = new Route( @@ -756,7 +757,9 @@ public function testChangingCallableWithNoContainer() '/', $deferred, $responseFactoryProphecy->reveal(), - $callableResolver + $callableResolver, + null, + $strategy ); $route->setCallable('\Slim\Tests\Mocks\CallableTest:toCall'); //Then we fix it here.