mirror of
https://github.com/flarum/core.git
synced 2025-07-30 13:10:24 +02:00
Require unique route names (#2771)
This commit is contained in:
@@ -55,7 +55,7 @@ class RoutesTest extends TestCase
|
||||
{
|
||||
$this->extend(
|
||||
(new Extend\Routes('api'))
|
||||
->remove('GET', 'forum.show')
|
||||
->remove('forum.show')
|
||||
);
|
||||
|
||||
$response = $this->send(
|
||||
@@ -72,7 +72,7 @@ class RoutesTest extends TestCase
|
||||
{
|
||||
$this->extend(
|
||||
(new Extend\Routes('api'))
|
||||
->remove('GET', 'forum.show')
|
||||
->remove('forum.show')
|
||||
->get('/', 'forum.show', CustomRoute::class)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user