Issue #2080607 by CaptainWonky, mrsinguyen: Remove Unused local variable from /core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldRoleTest.php.

8.0.x
webchick 2013-12-03 22:54:17 -08:00
parent 2db698ff03
commit 460198864a
1 changed files with 2 additions and 2 deletions

View File

@ -32,10 +32,10 @@ class HandlerFieldRoleTest extends UserTestBase {
public function testRole() {
// Create a couple of roles for the view.
$rolename_a = 'a' . $this->randomName(8);
$rid_a = $this->drupalCreateRole(array('access content'), $rolename_a, $rolename_a, 9);
$this->drupalCreateRole(array('access content'), $rolename_a, $rolename_a, 9);
$rolename_b = 'b' . $this->randomName(8);
$rid_b = $this->drupalCreateRole(array('access content'), $rolename_b, $rolename_b, 8);
$this->drupalCreateRole(array('access content'), $rolename_b, $rolename_b, 8);
$rolename_not_assigned = $this->randomName(8);
$this->drupalCreateRole(array('access content'), $rolename_not_assigned, $rolename_not_assigned);