If I add the line parent::setUp(); as the first line of setUp() function I receive "invalid permission xxx" error. Is this expected behaviour? If I read the documentation I should call this parent function... Check out http://drupal.org/node/315609#comment-1113247, add the parent line and test yourself.
function setUp() {
parent::setUp();
...
}
Comments
Comment #1
beginner commented@hass: you closed the other issue. Is this bug still valid?
If so, more information would be required. What permission are you talking about?
If it's a perm that's defined by your module, you need to setup your module so:
Comment #2
hass commentedI've set the GA issue to fixed as this v1.x to v2.x tests upgrade seems to be fixed, but this bugs here nevertheless exists and if someone executes the current GA 2.x tests his site get's cluttered. If someone have locale module enabled like me - all tests also timeout.
Therefore I cannot test if
parent::setUp('googleanalytics');may work until this buggy module fixed. See #334554: SimpleTest: Prevent endless loop and upper timeout during request for the blocker.Comment #3
hass commentedTested on a new site and seems working. THX
Comment #4
hass commented