You are here

public function ReportTest::testReport in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/Tests/ReportTest.php \Drupal\views_ui\Tests\ReportTest::testReport()

Tests the existence of the views plugin report.

File

core/modules/views_ui/src/Tests/ReportTest.php, line 40
Contains \Drupal\views_ui\Tests\ReportTest.

Class

ReportTest
Tests existence of the views plugin report.

Namespace

Drupal\views_ui\Tests

Code

public function testReport() {
  $this
    ->drupalLogin($this->adminUser);

  // Test the report page.
  $this
    ->drupalGet('admin/reports/views-plugins');
  $this
    ->assertResponse(200, "Views report page exists");
}