Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Fixed in this in the 6.x-1.x and 7.x-1.x branches. Not sure where hook_permission is defined (if at all) for the 8.x-1.x branch (don't know anything about d8).
This isn't a problem on 8, because it required the simpletest module which declares the permissions.
On 7 we could just make it required the Simpletest module and completely remove the the hook_permissions. or we could just return an empty array. Either works.
Comments
Comment #1
jzacsh commentedFixed in this in the 6.x-1.x and 7.x-1.x branches. Not sure where hook_permission is defined (if at all) for the 8.x-1.x branch (don't know anything about d8).
Any thoughts, anyone? See .module source here: http://drupalcode.org/project/qunit.git/blob/refs/heads/8.x-1.x:/qunit.m...
Comment #2
ericduran commentedThis isn't a problem on 8, because it required the simpletest module which declares the permissions.
On 7 we could just make it required the Simpletest module and completely remove the the hook_permissions. or we could just return an empty array. Either works.