diff --git a/core/modules/user/tests/src/PermissionHandlerTest.php b/core/modules/user/tests/src/PermissionHandlerTest.php index 1cf1ebe..f330c3e 100644 --- a/core/modules/user/tests/src/PermissionHandlerTest.php +++ b/core/modules/user/tests/src/PermissionHandlerTest.php @@ -9,24 +9,24 @@ use Drupal\Core\Extension\Extension; use Drupal\Tests\UnitTestCase; -use Drupal\user\PermissionManager; +use Drupal\user\PermissionHandler; use org\bovigo\vfs\vfsStream; use org\bovigo\vfs\vfsStreamDirectory; use org\bovigo\vfs\vfsStreamWrapper; /** - * Tests the permission manager. + * Tests the permission handler. * * @group user * - * @coversDefaultClass \Drupal\user\PermissionManager + * @coversDefaultClass \Drupal\user\PermissionHandler */ class PermissionHandlerTest extends UnitTestCase { /** - * The tested permission manager. + * The tested permission handler. * - * @var \Drupal\user\Tests\TestPermissionManager|\Drupal\user\PermissionManager + * @var \Drupal\user\Tests\TestPermissionHandler|\Drupal\user\PermissionHandler */ protected $permissionManager; @@ -56,7 +56,7 @@ protected function setUp() { } $this->stringTranslation = $this->getStringTranslationStub(); - $this->permissionManager = new TestPermissionManager($this->moduleHandler, $this->stringTranslation); + $this->permissionManager = new TestPermissionHandler($this->moduleHandler, $this->stringTranslation); } /** @@ -205,7 +205,7 @@ protected function assertPermissions(array $actual_permissions) { } -class TestPermissionManager extends PermissionManager { +class TestPermissionHandler extends PermissionHandler { /** * Test module data.