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
22
22
public function testDebugAllRoutes ()
23
23
{
24
24
$ tester = $ this ->createCommandTester ();
25
- $ ret = $ tester ->execute (array ('name ' => null ));
25
+ $ ret = $ tester ->execute (array ('name ' => null ), array ( ' decorated ' => false ) );
26
26
27
27
$ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
28
28
$ this ->assertContains ('[router] Current routes ' , $ tester ->getDisplay ());
@@ -31,7 +31,7 @@ public function testDebugAllRoutes()
31
31
public function testDebugSingleRoute ()
32
32
{
33
33
$ tester = $ this ->createCommandTester ();
34
- $ ret = $ tester ->execute (array ('name ' => 'foo ' ));
34
+ $ ret = $ tester ->execute (array ('name ' => 'foo ' ), array ( ' decorated ' => false ) );
35
35
36
36
$ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
37
37
$ 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
24
24
public function testWithMatchPath ()
25
25
{
26
26
$ tester = $ this ->createCommandTester ();
27
- $ ret = $ tester ->execute (array ('path_info ' => '/foo ' , 'foo ' ));
27
+ $ ret = $ tester ->execute (array ('path_info ' => '/foo ' , 'foo ' ), array ( ' decorated ' => false ) );
28
28
29
29
$ this ->assertEquals (0 , $ ret , 'Returns 0 in case of success ' );
30
30
$ this ->assertContains ('[router] Route "foo" ' , $ tester ->getDisplay ());
@@ -33,7 +33,7 @@ public function testWithMatchPath()
33
33
public function testWithNotMatchPath ()
34
34
{
35
35
$ tester = $ this ->createCommandTester ();
36
- $ ret = $ tester ->execute (array ('path_info ' => '/test ' , 'foo ' ));
36
+ $ ret = $ tester ->execute (array ('path_info ' => '/test ' , 'foo ' ), array ( ' decorated ' => false ) );
37
37
38
38
$ this ->assertEquals (1 , $ ret , 'Returns 1 in case of failure ' );
39
39
$ this ->assertContains ('None of the routes match the path "/test" ' , $ tester ->getDisplay ());
You can’t perform that action at this time.
0 commit comments