Problem/Motivation

SummaryLengthTest::testSummaryLength() directly sets WebTestBase::loggedInUser for no reason and without any effect.

Proposed resolution

Remove it.

Remaining tasks

User interface changes

API changes

Comments

znerol’s picture

Status: Active » Needs review
StatusFileSize
new2 KB
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Yep, drupalBuildEntityView() and others does not use this permissions and it's wrong to set the variable this way

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Hm. Bizarre. Nice catch again. ;) Only thing I can think is this was originally part of a larger test that also tried changing the length in the admin screen and seeing what happened. Oh well...

Committed and pushed to 8.x. Thanks!

  • webchick committed 403b56b on 8.0.x
    Issue #2329009 by znerol: Fixed SummaryLengthTest::testSummaryLength()...

Status: Fixed » Closed (fixed)

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