Backup of db before drupal security update
[yaffs-website] / web / core / modules / views_ui / tests / src / Functional / ReportTest.php
1 <?php
2
3 namespace Drupal\Tests\views_ui\Functional;
4
5 /**
6  * Tests existence of the views plugin report.
7  *
8  * @group views_ui
9  */
10 class ReportTest extends UITestBase {
11
12   /**
13    * Modules to enable.
14    *
15    * @var array
16    */
17   public static $modules = ['views', 'views_ui'];
18
19   /**
20    * Stores an admin user used by the different tests.
21    *
22    * @var \Drupal\user\User
23    */
24   protected $adminUser;
25
26   /**
27    * Tests the existence of the views plugin report.
28    */
29   public function testReport() {
30     $this->drupalLogin($this->adminUser);
31
32     // Test the report page.
33     $this->drupalGet('admin/reports/views-plugins');
34     $this->assertResponse(200, "Views report page exists");
35   }
36
37 }