diff --git a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php index 5556c6e..0628c89 100644 --- a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @@ -252,7 +252,7 @@ public function testGetParent() { */ public function testSetContext() { $name = $this->randomMachineName(); - $parent = $this->getMock('\Drupal\Core\TypedData\TypedDataInterface'); + $parent = $this->getMock('\Drupal\Core\TypedData\TraversableTypedDataInterface'); // Our mocked entity->setContext() returns NULL, so assert that. $this->assertNull($this->entityAdapter->setContext($name, $parent)); $this->assertEquals($name, $this->entityAdapter->getName());