You are here

public function RenameAdminPathEventSubscriberTest::testDoNotRenamePaths in Rename Admin Paths 8.2

File

tests/src/Unit/EventSubscriber/RenameAdminPathEventSubscriberTest.php, line 24

Class

RenameAdminPathEventSubscriberTest
@group tests

Namespace

Drupal\Tests\rename_admin_paths\Unit\EventSubscriber

Code

public function testDoNotRenamePaths() {
  $this
    ->assertRoutePaths([], [
    'home' => '/',
    'about' => '/about',
    'admin' => '/admin',
    'admin_slashed' => '/admin/',
    'admin_sub' => '/admin/sub',
    'admin_sub_sub' => '/admin/sub/sub',
    'admin_admin' => '/admin/admin',
    'admin_sub_admin' => '/admin/sub/admin',
    'admins' => '/admins',
    'admins_sub' => '/admins/sub',
    'user' => '/user',
    'user_slashed' => '/user/',
    'user_sub' => '/user/sub',
    'user_sub_sub' => '/user/sub/sub',
    'user_admin' => '/user/user',
    'user_sub_admin' => '/user/sub/user',
    'users' => '/users',
    'users_sub' => '/users/sub',
  ]);
}