Commit 3641d78b authored by Igor Wiedler's avatar Igor Wiedler

use map route syntax in WebTestCase

parent 8f5563ae
...@@ -23,10 +23,11 @@ class WebTestCaseTest extends WebTestCase ...@@ -23,10 +23,11 @@ class WebTestCaseTest extends WebTestCase
{ {
public function createApp() public function createApp()
{ {
$app = new Framework(); $app = new Framework(array(
$app->get('/hello', function() { '/hello' => function() {
return 'world'; return 'world';
}); },
));
return $app; return $app;
} }
......
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