added wildcard test to route test.
This commit is contained in:
parent
aa427bbd39
commit
5c03c1de56
|
@ -19,6 +19,7 @@ public function testHandlesReturnsTrueWhenRouteHandlesTheGivenURI()
|
|||
{
|
||||
$route = new Laravel\Routing\Route('GET /', array('handles' => array('foo/bar')));
|
||||
|
||||
$this->assertTrue($route->handles('foo/*'));
|
||||
$this->assertTrue($route->handles('foo/bar'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue