Exemple #1
0
 public function testRoutePut()
 {
     $router = new Core\Routing\Router();
     $router->put('/homepage', 'ControllerTest@index', 'homepage.update');
     $testRoute = $router->getRouteAlias('homepage.update')->getAlias();
     $this->assertEquals('homepage.update', $testRoute);
 }