drupalPlaceBlock('system_breadcrumb_block'); $this->enableViewsTestModule(); $this->webUser = $this->drupalCreateUser(); $roles = $this->webUser->getRoles(); $this->webRole = $roles[0]; $this->normalRole = $this->drupalCreateRole([]); $this->normalUser = $this->drupalCreateUser(['views_test_data test permission']); $this->normalUser->addRole($this->normalRole); $this->normalUser->save(); // @todo when all the plugin information is cached make a reset function and // call it here. } }