// create a user with these permissions.
$all_perms = array_merge($this->base_perms, $this->entity_perms);
$this->adminUser = $this->drupalCreateUser($all_perms);
// create a user with these permissions.
$all_perms = array_merge($this->base_perms, $this->entity_perms);
$this->adminUser = $this->drupalCreateUser($all_perms);