function AAR::getNewUser in Auto Assign Role 6
Same name and namespace in other branches
- 6.2 tests/autoassignrole.test \AAR::getNewUser()
Helper function for new users
3 calls to AAR::getNewUser()
File
- tests/
autoassignrole.test, line 84 - Autoassignrole functionality tests.
Class
- AAR
- @file Autoassignrole functionality tests.
Code
function getNewUser() {
$new_user = array();
$new_user['name'] = $this
->randomName();
$new_user['mail'] = $new_user['name'] . '@example.com';
return $new_user;
}