Skip to content

Commit

Permalink
Merge dbde7e8 into 3027cbe
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-slowik committed Sep 16, 2020
2 parents 3027cbe + dbde7e8 commit a43e28c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Routing/RouteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -749,14 +749,17 @@ public function testChangingCallableWithNoContainer()
->shouldBeCalledOnce();

$callableResolver = new CallableResolver();
$strategy = new InvocationStrategyTest();

$deferred = 'NonExistent:toCall';
$route = new Route(
['GET'],
'/',
$deferred,
$responseFactoryProphecy->reveal(),
$callableResolver
$callableResolver,
null,
$strategy
);
$route->setCallable('\Slim\Tests\Mocks\CallableTest:toCall'); //Then we fix it here.

Expand Down

0 comments on commit a43e28c

Please sign in to comment.