Problem/Motivation

WebTestBase::drupalGetToken() is never used. Additionally #2245003: Use a random seed instead of the session_id for CSRF token generation changed the way CSRF tokens are generated but this change was never reflected in WebTestBase::drupalGetToken().

Proposed resolution

Remove it.

Remaining tasks

User interface changes

API changes

Comments

znerol’s picture

Status: Active » Needs review
StatusFileSize
new699 bytes
andypost’s picture

Status: Needs review » Reviewed & tested by the community

No usage is left, +1 to remove

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch.

Committed and pushed to 8.x. Thanks!

  • webchick committed 68cd18c on 8.0.x
    Issue #2328995 by znerol: Remove unused and defective WebTestBase::...

Status: Fixed » Closed (fixed)

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