Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Phalcon\Mvc\Router\Route::getGroup() #1715

Merged
merged 4 commits into from Dec 20, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test case for #1682
  • Loading branch information
sjinks committed Dec 20, 2013
commit d2c54923a92929365bb8ddd74e1a7ebab5a2afd4
1 change: 1 addition & 0 deletions unit-tests/RouterMvcTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ public function testGroups()
$this->assertEquals($paths['module'], $router->getModuleName());
$this->assertEquals($paths['controller'], $router->getControllerName());
$this->assertEquals($paths['action'], $router->getActionName());
$this->assertEquals($blog, $router->getMatchedRoute()->getGroup());
}
}

Expand Down