File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1782,15 +1782,16 @@ public function testGetRegisteredControllersReturnsOneControllerWhenTwoRoutsWith
17821782 public function testGetRegisteredControllersReturnsAllControllers ()
17831783 {
17841784 $ collection = $ this ->getCollector ();
1785- $ collection ->get ('test ' , '\App\Controllers\Hello ::get ' );
1786- $ collection ->post ('test ' , '\App\Controllers\Hello ::post ' );
1787- $ collection ->post ('hello ' , '\App\Controllers\Test ::hello ' );
1785+ $ collection ->get ('test ' , '\App\Controllers\HelloGet ::get ' );
1786+ $ collection ->post ('test ' , '\App\Controllers\HelloPost ::post ' );
1787+ $ collection ->post ('hello ' , '\App\Controllers\TestPost ::hello ' );
17881788
17891789 $ routes = $ collection ->getRegisteredControllers ('* ' );
17901790
17911791 $ expects = [
1792- '\App\Controllers\Hello ' ,
1793- '\App\Controllers\Test ' ,
1792+ '\App\Controllers\HelloGet ' ,
1793+ '\App\Controllers\HelloPost ' ,
1794+ '\App\Controllers\TestPost ' ,
17941795 ];
17951796 $ this ->assertSame ($ expects , $ routes );
17961797 }
You can’t perform that action at this time.
0 commit comments