Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / serialization / tests / src / Unit / EntityResolver / UuidResolverTest.php
index 812392568a6f47bdf5669ebd5d2f25080a3cdfe5..4abd9ff384b77e4e62c32a0eb2f39d6c10098594 100644 (file)
@@ -2,6 +2,7 @@
 
 namespace Drupal\Tests\serialization\Unit\EntityResolver;
 
+use Drupal\Core\Entity\EntityRepositoryInterface;
 use Drupal\Tests\UnitTestCase;
 use Drupal\serialization\EntityResolver\UuidResolver;
 
@@ -29,7 +30,7 @@ class UuidResolverTest extends UnitTestCase {
    * {@inheritdoc}
    */
   protected function setUp() {
-    $this->entityManager = $this->getMockBuilder('Drupal\Core\Entity\EntityManager')
+    $this->entityManager = $this->getMockBuilder(EntityRepositoryInterface::class)
       ->disableOriginalConstructor()
       ->getMock();