Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / content_moderation / tests / src / Unit / ModerationInformationTest.php
index 8d319ef319a8a06111da51caf549a30ee0b0ab04..a2c3dfc51859f4c3e5f699352527ee61277d441b 100644 (file)
@@ -10,18 +10,19 @@ use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Drupal\Core\Session\AccountInterface;
 use Drupal\content_moderation\ModerationInformation;
+use Drupal\Tests\UnitTestCase;
 use Drupal\workflows\WorkflowInterface;
 
 /**
  * @coversDefaultClass \Drupal\content_moderation\ModerationInformation
  * @group content_moderation
  */
-class ModerationInformationTest extends \PHPUnit_Framework_TestCase {
+class ModerationInformationTest extends UnitTestCase {
 
   /**
    * Builds a mock user.
    *
-   * @return AccountInterface
+   * @return \Drupal\Core\Session\AccountInterface
    *   The mocked user.
    */
   protected function getUser() {
@@ -31,7 +32,7 @@ class ModerationInformationTest extends \PHPUnit_Framework_TestCase {
   /**
    * Returns a mock Entity Type Manager.
    *
-   * @return EntityTypeManagerInterface
+   * @return \Drupal\Core\Entity\EntityTypeManagerInterface
    *   The mocked entity type manager.
    */
   protected function getEntityTypeManager() {