function ReportTest::testReport

Same name in other branches
  1. 8.9.x core/modules/views_ui/tests/src/Functional/ReportTest.php \Drupal\Tests\views_ui\Functional\ReportTest::testReport()
  2. 10 core/modules/views_ui/tests/src/Functional/ReportTest.php \Drupal\Tests\views_ui\Functional\ReportTest::testReport()
  3. 11.x core/modules/views_ui/tests/src/Functional/ReportTest.php \Drupal\Tests\views_ui\Functional\ReportTest::testReport()

Tests the existence of the views plugin report.

File

core/modules/views_ui/tests/src/Functional/ReportTest.php, line 34

Class

ReportTest
Tests existence of the views plugin report.

Namespace

Drupal\Tests\views_ui\Functional

Code

public function testReport() {
    $this->drupalLogin($this->adminUser);
    // Test the report page.
    $this->drupalGet('admin/reports/views-plugins');
    $this->assertSession()
        ->statusCodeEquals(200);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.