Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables

File /core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php

Line 482: Unused local variable $result

Comments

G2’s picture

Assigned: Unassigned » G2
G2’s picture

Status: Active » Needs review
StatusFileSize
new1018 bytes

Removed the variable assignment from line 482.

Status: Needs review » Needs work

The last submitted patch, drupal8.system-module.2080321-2.patch, failed testing.

sandergo90’s picture

Assigned: G2 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.05 KB

The patch was not ok. It removed the line of drupal_add_library completely and tests were failing then. I've attached a patch where $result will be removed but drupal_add_library will be kept.

parthipanramesh’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

looks good.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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