In core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php file test method testToLink() found unused variable.

Removing the following variable.

$expected = '<a href="/test_entity_type/test_entity_id">' . $expected_text . '</a>';

CommentFileSizeAuthor
#2 3157143-2.patch722 byteshardik_patel_12

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

Status: Active » Needs review
StatusFileSize
new722 bytes

Kindly review a patch.

siddhant.bhosale’s picture

Assigned: Unassigned » siddhant.bhosale
siddhant.bhosale’s picture

Assigned: siddhant.bhosale » Unassigned
Status: Needs review » Reviewed & tested by the community

Hi, the patch applies cleanly and runs the tests without errors. Looks good to be merged. Marking this RTBC.

avpaderno’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3158277: Remove unused local variable from EntityLinkTest.php file

There is already an issue for this.