You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 2, 2020. It is now read-only.
On my test suite it's going through checking if users already exist before creating them, but it's getting a false positive and failing to create a user that doesn't exist.
DrushTestUserManager::createUser() doesn't have a very robust check on the drush output, which I think might be causing this.
Here's the output of my drush command which is causing the false positive.
exception 'Drush\User\UserListException' with message 'Unable to find a matching user for test.news.editor.' [error]
in /home/vagrant/.composer/vendor/drush/drush/lib/Drush/User/UserList.php:117
Stack trace:
#0 /home/vagrant/.composer/vendor/drush/drush/lib/Drush/User/UserList.php(15):
Drush\User\UserList::getFromParameters('test.news.edito...')
#1 /home/vagrant/.composer/vendor/drush/drush/commands/user/user.drush.inc(248):
Drush\User\UserList->__construct('test.news.edito...')
#2 [internal function]: drush_user_information('test.news.edito...')
#3 /home/vagrant/.composer/vendor/drush/drush/includes/command.inc(359):
call_user_func_array('drush_user_info...', Array)
#4 /home/vagrant/.composer/vendor/drush/drush/includes/command.inc(210): _drush_invoke_hooks(Array, Array)
#5 [internal function]: drush_command('test.news.edito...')
#6 /home/vagrant/.composer/vendor/drush/drush/includes/command.inc(178): call_user_func_array('drush_command',
Array)
#7 /home/vagrant/.composer/vendor/drush/drush/lib/Drush/Boot/DrupalBoot.php(46): drush_dispatch(Array)
#8 /home/vagrant/.composer/vendor/drush/drush/drush.php(76): Drush\Boot\DrupalBoot->bootstrap_and_dispatch()
#9 /home/vagrant/.composer/vendor/drush/drush/drush.php(16): drush_main()
#10 {main}