Commit 5d0f9d91 authored by jhodgdon's avatar jhodgdon

Issue #2022207 by pcambra, Berdir: Make references to User class in test docs...

Issue #2022207 by pcambra, Berdir: Make references to User class in test docs reference UserInterface instead
parent 3e3ce915
...@@ -31,7 +31,7 @@ abstract class BlockTestBase extends WebTestBase { ...@@ -31,7 +31,7 @@ abstract class BlockTestBase extends WebTestBase {
/** /**
* A test user with administrative privileges. * A test user with administrative privileges.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $adminUser; protected $adminUser;
......
...@@ -31,7 +31,7 @@ class NodeAccessLanguageAwareTest extends NodeTestBase { ...@@ -31,7 +31,7 @@ class NodeAccessLanguageAwareTest extends NodeTestBase {
/** /**
* A normal authenticated user. * A normal authenticated user.
* *
* @var \Drupal\user\Plugin\Core\Entity\User. * @var \Drupal\user\UserInterface
*/ */
protected $web_user; protected $web_user;
......
...@@ -15,14 +15,14 @@ class NodeBlockFunctionalTest extends NodeTestBase { ...@@ -15,14 +15,14 @@ class NodeBlockFunctionalTest extends NodeTestBase {
/** /**
* An administrative user for testing. * An administrative user for testing.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $adminUser; protected $adminUser;
/** /**
* An unprivileged user for testing. * An unprivileged user for testing.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $webUser; protected $webUser;
......
...@@ -28,7 +28,7 @@ class IntegrationTest extends ViewTestBase { ...@@ -28,7 +28,7 @@ class IntegrationTest extends ViewTestBase {
/** /**
* Stores the user object that accesses the page. * Stores the user object that accesses the page.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $webUser; protected $webUser;
......
...@@ -40,21 +40,21 @@ abstract class EntityTranslationTestBase extends WebTestBase { ...@@ -40,21 +40,21 @@ abstract class EntityTranslationTestBase extends WebTestBase {
/** /**
* The account to be used to test translation operations. * The account to be used to test translation operations.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $translator; protected $translator;
/** /**
* The account to be used to test multilingual entity editing. * The account to be used to test multilingual entity editing.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $editor; protected $editor;
/** /**
* The account to be used to test access to both workflows. * The account to be used to test access to both workflows.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $administrator; protected $administrator;
......
...@@ -24,7 +24,7 @@ class UserBlocksTests extends WebTestBase { ...@@ -24,7 +24,7 @@ class UserBlocksTests extends WebTestBase {
/** /**
* The admin user used in this test. * The admin user used in this test.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $adminUser; protected $adminUser;
......
...@@ -16,7 +16,7 @@ class UserPasswordResetTest extends WebTestBase { ...@@ -16,7 +16,7 @@ class UserPasswordResetTest extends WebTestBase {
/** /**
* The user object to test password resetting. * The user object to test password resetting.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $account; protected $account;
......
...@@ -17,14 +17,14 @@ abstract class UITestBase extends ViewTestBase { ...@@ -17,14 +17,14 @@ abstract class UITestBase extends ViewTestBase {
/** /**
* An admin user with the 'administer views' permission. * An admin user with the 'administer views' permission.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $adminUser; protected $adminUser;
/** /**
* An admin user with administrative permissions for views, blocks, and nodes. * An admin user with administrative permissions for views, blocks, and nodes.
* *
* @var \Drupal\user\Plugin\Core\Entity\User * @var \Drupal\user\UserInterface
*/ */
protected $fullAdminUser; protected $fullAdminUser;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment