Closed rsanzante closed 3 years ago
This is not complete because it only addresses the issue on D8 core. If solution si accepted it can be easily extended to D7.
I think it is probably not needed to change this since it should be handled on the calling side. See my comment https://github.com/jhedstrom/DrupalDriver/issues/230#issuecomment-725379086 that proposes to look into how Behat Drupal Extension deals with possible altering of the user object using the @AfterUserCreate
hook.
Thanks for your comment, I agree calling side os a good place to handle this.
See https://github.com/jhedstrom/DrupalDriver/issues/230.