Commit 0bce9898 authored by Dave Marshall's avatar Dave Marshall

Add request to signature to test call

parent 6bddf29e
...@@ -576,7 +576,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase ...@@ -576,7 +576,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
{ {
$app = new Application(); $app = new Application();
$app->get('/foo', function() { return 123; }); $app->get('/foo', function() { return 123; });
$app->view(function ($view) { $app->view(function ($view, Request $request) {
return new Response($view); return new Response($view);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment