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

File /core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php

Line 52: Unused local variable $instance

Files: 
CommentFileSizeAuthor
#1 drupal-core-remove-unused-local-variable-2080577.patch698 bytesmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,793 pass(es). View

Comments

mrsinguyen’s picture

Status: Active » Needs review
FileSize
698 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,793 pass(es). View
LinL’s picture

Component: other » comment.module
Status: Needs review » Reviewed & tested by the community

Patch still applies, looks good. RTBC.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice. This will probably speed up these tests a bit, not having to run this code every time.

Committed and pushed to 8.x. Thanks!

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