adminUser = $this->drupalCreateUser(['administer views']); } /** * Tests the existence of the views plugin report. */ public function testReport() { $this->drupalLogin($this->adminUser); // Test the report page. $this->drupalGet('admin/reports/views-plugins'); $this->assertResponse(200, "Views report page exists"); } }