Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
EntityTestAccessController should use the permissions used in entity_access_menu().
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-1900198-1.patch | 4.77 KB | dawehner |
Comments
Comment #1
dawehnerSadly the test runned into the usual global $user problem of tests.
Comment #2
BerdirThis is already happening in #1807776: Support both simple and editorial workflows for translating entities and #1893108: Convert most entity tests to DrupalUnitTestBase I think, or most of it.
Comment #4
dawehnerThanks for linking.
So yeah both issues together pretty much does