Commit 183f749d authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4512 Create users with first and last name

parent 0ce78238
......@@ -187,7 +187,11 @@ class UwWcmsBasicTest extends BrowserTestBase {
'uw_role_form_results_access',
];
foreach ($roles as $role) {
$user = ['roles' => [$role]];
$user = [
'roles' => [$role],
'edit-field-uw-first-name-0-value' => $this->randomString(),
'edit-field-uw-last-name-0-value' => $this->randomString(),
];
$this->drupalUsers[$role] = $this->createUser([], $role, FALSE, $user);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment