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.