Skip to content

Commit 762a208

Browse files
committed
fix broken AuthUserHelperTests
1 parent daf007a commit 762a208

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/TestCase/View/Helper/AuthUserHelperTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public function testIsAuthorizedValid() {
8585
$this->assertTrue($result);
8686

8787
$builder = Router::createRouteBuilder('/');
88-
$builder->setRouteClass(DashedRoute::class);
8988
$builder->connect(
9089
'/edit/*',
9190
['controller' => 'Tags', 'action' => 'edit'],
@@ -221,7 +220,6 @@ public function testIncompleteNamedRouteException() {
221220
$this->View->set('_authUser', $user);
222221

223222
$builder = Router::createRouteBuilder('/');
224-
$builder->setRouteClass(DashedRoute::class);
225223
$builder->connect(
226224
'/view/{id}',
227225
['controller' => 'Posts', 'action' => 'view'],

0 commit comments

Comments
 (0)