Commit 25b100cf authored by catch's avatar catch

Issue #1934788 by sun, pplantinga: 'Administration role' setting in User...

Issue #1934788 by sun, pplantinga: 'Administration role' setting in User Account settings form defaults to first, randomly available user role.
parent b4c561d0
......@@ -79,6 +79,9 @@ function testAdministratorRole() {
$this->drupalLogin($this->admin_user);
$this->drupalGet('admin/config/people/accounts');
// Verify that the administration role is none by default.
$this->assertOptionSelected('edit-user-admin-role', '', 'Administration role defaults to none.');
// Set the user's role to be the administrator role.
$edit = array();
$edit['user_admin_role'] = $this->rid;
......
Markdown is supported
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