diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php index 8762ff2..ba98944 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @@ -461,14 +461,14 @@ public function testGetForm() { $apple_entity = $this->getMock('Drupal\Core\Entity\EntityInterface'); $apple_entity->expects($this->once()) - ->method('entityType') + ->method('entityTypeId') ->will($this->returnValue('apple')); $this->assertSame('the form contents', $this->entityManager->getForm($apple_entity)); $banana_entity = $this->getMock('Drupal\Core\Entity\EntityInterface'); $banana_entity->expects($this->once()) - ->method('entityType') + ->method('entityTypeId') ->will($this->returnValue('banana')); $this->assertSame('the form contents', $this->entityManager->getForm($banana_entity));