diff --git a/tests/Routing/RoutingUrlGeneratorTest.php b/tests/Routing/RoutingUrlGeneratorTest.php index 7f4a9ac25b65..1c84d3a41e96 100755 --- a/tests/Routing/RoutingUrlGeneratorTest.php +++ b/tests/Routing/RoutingUrlGeneratorTest.php @@ -369,7 +369,7 @@ public function testPrevious() $url->getRequest()->headers->remove('referer'); $this->assertEquals($url->to('/'), $url->previous()); - + $this->assertEquals($url->to('/foo'), $url->previous(function () use ($url) { return $url->to('/foo'); }));