commit 5a6b387a27ea7477a44891b044766d9a4af9953b Author: fago Date: Sat Jun 7 23:23:14 2014 -0500 Fixed tests. diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php index e5eeda0..e88332a 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @@ -751,7 +751,7 @@ protected function setUpEntityWithFieldDefinition($custom_invoke_all = FALSE, $f ->will($this->returnValue(array())); $entity_type->expects($this->any()) ->method('isSubclassOf') - ->with($this->equalTo('\Drupal\Core\Entity\ContentEntityInterface')) + ->with($this->equalTo('\Drupal\Core\Entity\FieldableEntityInterface')) ->will($this->returnValue(TRUE)); $field_definition = $this->getMockBuilder('Drupal\Core\Field\FieldDefinition') ->disableOriginalConstructor() @@ -1062,7 +1062,7 @@ public function testGetFieldMap() { ->will($this->returnValue(array())); $entity_type->expects($this->any()) ->method('isSubclassOf') - ->with('\Drupal\Core\Entity\ContentEntityInterface') + ->with('\Drupal\Core\Entity\FieldableEntityInterface') ->will($this->returnValue(TRUE)); // Set up the module handler to return two bundles for the fieldable entity @@ -1133,7 +1133,7 @@ public function testGetFieldMap() { $non_content_entity_type = $this->getMock('Drupal\Core\Entity\EntityTypeInterface'); $entity_type->expects($this->any()) ->method('isSubclassOf') - ->with('\Drupal\Core\Entity\ContentEntityInterface') + ->with('\Drupal\Core\Entity\FieldableEntityInterface') ->will($this->returnValue(FALSE)); $this->setUpEntityManager(array(