diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php index fe3af28..9bebeb6 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php @@ -87,7 +87,7 @@ function testEntityAccessDefaultController() { // Check that the default access controller is used for entities that don't // have a specific access controller defined. $controller = entity_access_controller('entity_test'); - $this->assertTrue($controller instanceof '\Drupal\Core\Entity\EntityAccessController', 'The default entity controller is used for the entity_test entity type.'); + $this->assertTrue($controller instanceof Drupal\Core\Entity\EntityAccessController, 'The default entity controller is used for the entity_test entity type.'); $entity = entity_create('entity_test', array()); $this->assertEntityAccess(array(