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.
#971320: Administrator configures registration paths, each with customised role assignments has been fixed, but we need some tests around this to test the registration paths functionality.
Comments
Comment #1
mike.davis CreditAttribution: mike.davis commentedAfter some time of playing with SimpleTest, I finally have a patch for adding tests for the auto assign path feature.
Comment #3
mike.davis CreditAttribution: mike.davis commentedI'm not sure what is happening, as running this on the simpletest.me site all passes fine?
Comment #4
mike.davis CreditAttribution: mike.davis commentedOK, so here is the same patch with some debug to see what roles exist for a new user.
Comment #6
mike.davis CreditAttribution: mike.davis commentedAdded further debug to get the list of checkboxes on the user page.
Comment #8
mike.davis CreditAttribution: mike.davis commentedMore debug to see what roles are on the user form
Comment #10
mike.davis CreditAttribution: mike.davis commentedOK, I changed tact on how I was checking for if the user had the correct role assigned..... lets try this.
Comment #12
mike.davis CreditAttribution: mike.davis commentedtry again.....
Comment #13
mike.davis CreditAttribution: mike.davis commentedfinally got there ... just updated some text for the test...
Comment #15
mike.davis CreditAttribution: mike.davis commentedThis has been committed now