diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php index 3d9e138518b5efa4fd0963d84941b43a3f680ef4..cfe1397969b1e4c71bb8abf90d76ad628186b286 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @@ -74,7 +74,6 @@ public function testToLink($entity_label, $link_text, $expected_text, $link_rel $route_name = $route_name_map[$link_rel]; $entity_id = 'test_entity_id'; $entity_type_id = 'test_entity_type'; - $expected = '<a href="/test_entity_type/test_entity_id">' . $expected_text . '</a>'; $entity_type = $this->createMock('Drupal\Core\Entity\EntityTypeInterface'); $entity_type->expects($this->once())