In the setUp function of WebTestBase class of the simple test module, I found that $language_interface variable isn't being used. We should remove it.

Comments

pcambra’s picture

Status: Active » Needs review
StatusFileSize
new944 bytes

They don't seem to be used, let's see what the testbot thinks

bleen’s picture

Status: Needs review » Reviewed & tested by the community

looks good

dries’s picture

Status: Reviewed & tested by the community » Needs work

Patch no longer applies. Moving to needs work and applying for a re-test just in case.

dries’s picture

Status: Needs work » Needs review
Issue tags: -Novice

Status: Needs review » Needs work
Issue tags: +Novice

The last submitted patch, 1788588-remove_unused_variables_webtestcase-1.patch, failed testing.

pcambra’s picture

Status: Needs work » Needs review
StatusFileSize
new650 bytes

It seems that the second reference to the unused variable was removed somewhere else.

berdir’s picture

Status: Needs review » Reviewed & tested by the community

Yes, let's remove this. Tests would have failed if it would be used anywhere or have a side effect that's required.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks for the quick reroll.

Automatically closed -- issue fixed for 2 weeks with no activity.