You are here

public function ReportTest::testReport in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/tests/src/Functional/ReportTest.php \Drupal\Tests\views_ui\Functional\ReportTest::testReport()
  2. 9 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);
}