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.
It would be very helpful to have a drupalCreateUserWithRoles() method to compliment drupalCreateUser(), which takes permissions as its parameter. Patch coming.
Comment | File | Size | Author |
---|---|---|---|
#2 | simpletest-drupalCreateUserWithRoles-2805445-2-D7.patch | 2.02 KB | Liam Morland |
Comments
Comment #2
Liam MorlandComment #3
Liam MorlandPatch still applies and tests pass.