
| Current Path : /var/www/html/strat/web/core/modules/views_ui/tests/src/Functional/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/strat/web/core/modules/views_ui/tests/src/Functional/ReportTest.php |
<?php
declare(strict_types=1);
namespace Drupal\Tests\views_ui\Functional;
/**
* Tests existence of the views plugin report.
*
* @group views_ui
*/
class ReportTest extends UITestBase {
/**
* {@inheritdoc}
*/
protected static $modules = ['views', 'views_ui'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Stores an admin user used by the different tests.
*
* @var \Drupal\user\Entity\User
*/
protected $adminUser;
/**
* Tests the existence of the views plugin report.
*/
public function testReport(): void {
$this->drupalLogin($this->adminUser);
// Test the report page.
$this->drupalGet('admin/reports/views-plugins');
$this->assertSession()->statusCodeEquals(200);
}
}