File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RouterDebugCommandTest extends \PHPUnit_Framework_TestCase
2222 public function testDebugAllRoutes ()
2323 {
2424 $ tester = $ this ->createCommandTester ();
25- $ ret = $ tester ->execute (array ('name ' => null ));
25+ $ ret = $ tester ->execute (array ('name ' => null ), array ( ' decorated ' => false ) );
2626
2727 $ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
2828 $ this ->assertContains ('[router] Current routes ' , $ tester ->getDisplay ());
@@ -31,7 +31,7 @@ public function testDebugAllRoutes()
3131 public function testDebugSingleRoute ()
3232 {
3333 $ tester = $ this ->createCommandTester ();
34- $ ret = $ tester ->execute (array ('name ' => 'foo ' ));
34+ $ ret = $ tester ->execute (array ('name ' => 'foo ' ), array ( ' decorated ' => false ) );
3535
3636 $ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
3737 $ this ->assertContains ('[router] Route "foo" ' , $ tester ->getDisplay ());
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class RouterMatchCommandTest extends \PHPUnit_Framework_TestCase
2424 public function testWithMatchPath ()
2525 {
2626 $ tester = $ this ->createCommandTester ();
27- $ ret = $ tester ->execute (array ('path_info ' => '/foo ' , 'foo ' ));
27+ $ ret = $ tester ->execute (array ('path_info ' => '/foo ' , 'foo ' ), array ( ' decorated ' => false ) );
2828
2929 $ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
3030 $ this ->assertContains ('[router] Route "foo" ' , $ tester ->getDisplay ());
@@ -33,7 +33,7 @@ public function testWithMatchPath()
3333 public function testWithNotMatchPath ()
3434 {
3535 $ tester = $ this ->createCommandTester ();
36- $ ret = $ tester ->execute (array ('path_info ' => '/test ' , 'foo ' ));
36+ $ ret = $ tester ->execute (array ('path_info ' => '/test ' , 'foo ' ), array ( ' decorated ' => false ) );
3737
3838 $ this ->assertEquals (1 , $ ret , 'Returns 1 in case of failure ' );
3939 $ this ->assertContains ('None of the routes match the path "/test" ' , $ tester ->getDisplay ());
You can’t perform that action at this time.
0 commit comments