Modify route options and do test
This commit is contained in:
@@ -24,9 +24,9 @@ class RouterTest extends \PHPUnit\Framework\TestCase
|
||||
['controller' => 'posts', 'action' => 'new']
|
||||
],
|
||||
[
|
||||
'{controller}/{id:\d+}/{action}',
|
||||
'{controller}/{action}/{id:\d+}',
|
||||
[],
|
||||
'posts/3/edit',
|
||||
'posts/edit/3',
|
||||
['controller' => 'posts', 'action' => 'edit', 'id' => '3']
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user