Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
token system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Feb 2015 at 15:36 UTC
Updated:
19 Feb 2015 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirAlso changed it to inject the invalidator, makes unit testing easier, with minimal impact (hopefully).
The test only patch is a bit bogus, due to the refactoring.
Also, unit testing this is somewhat limited, as we could have already had one that expected the old structure and would have passed too. But you can always have wrong mocking in unit tests and I'm also not sure about adding test modules and stuff just to be able to test it in a web/kernel test.
Comment #2
wim leersLooks great! Just a few problems… one of which should cause the test to blow up :)
Missing leading '@'.
Docblock wasn't updated.
Comment #3
berdirComment #7
berdirUgh. Everything but not segfaults, please...
Comment #9
wim leersComment #10
alexpottThis issue addresses a major bug and is allowed per https://www.drupal.org/core/beta-changes. Committed c9cc835 and pushed to 8.0.x. Thanks!