Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / views / tests / src / Functional / Wizard / WizardTestBase.php
1 <?php
2
3 namespace Drupal\Tests\views\Functional\Wizard;
4
5 use Drupal\Tests\views\Functional\ViewTestBase;
6
7 /**
8  * Views UI wizard tests.
9  */
10 abstract class WizardTestBase extends ViewTestBase {
11
12   /**
13    * Modules to enable.
14    *
15    * @var array
16    */
17   public static $modules = ['node', 'views_ui', 'block', 'rest'];
18
19   protected function setUp($import_test_views = TRUE) {
20     parent::setUp($import_test_views);
21
22     // Create and log in a user with administer views permission.
23     $views_admin = $this->drupalCreateUser(['administer views', 'administer blocks', 'bypass node access', 'access user profiles', 'view all revisions']);
24     $this->drupalLogin($views_admin);
25     $this->drupalPlaceBlock('local_actions_block');
26   }
27
28 }