Test to confirm #161 is fixed.

pull/506/head
Austin Collier 1 year ago
parent 362f3a049c
commit 0b149349fc

@ -208,6 +208,12 @@ class RouterTest extends PHPUnit\Framework\TestCase
$this->check('OK');
}
public function testWildcardDuplicate() {
$this->router->map('/account/*' , [$this, 'ok']);
$this->request->url = '/account/account/account';
$this->check('OK');
}
// Check if route object was passed
public function testRouteObjectPassing()
{

Loading…
Cancel
Save