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.
setUp method only supports passing as an array of string parameters currently, for example:
parent::setUp('comment', 'botcha');
But preferrable way is passing as a single array, that is as follows:
parent::setUp(array('comment', 'botcha'));
I am working on a patch, that will be attached asap.
Comment | File | Size | Author |
---|---|---|---|
#1 | d7-selenium-fixed_setUp_modules_parameter_passing-1.patch | 695 bytes | PatchRanger |
Comments
Comment #1
PatchRanger CreditAttribution: PatchRanger commentedPlease note: it's a patch for 7.x-3.x branch, not for 7.x-2.x! This misunderstanding is caused by #1874078: Create 7.x-3.x branch on drupal.org, which should be fixed as well.
Fixed for D7. Please review.
Comment #2
PatchRanger CreditAttribution: PatchRanger commented#1287364: Can't enable modules closed as a duplicate of this one.
Comment #3
PatchRanger CreditAttribution: PatchRanger commentedFixed for 7.x-3.x: http://drupalcode.org/project/selenium.git/commit/1ff60f6.
Comment #4
PatchRanger CreditAttribution: PatchRanger commentedFixed for 7.x-2.x: http://drupalcode.org/project/selenium.git/commit/f95e6dc.