3 namespace Drupal\views\Tests\Wizard;
5 @trigger_error('\Drupal\views\Tests\Wizard\WizardTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\views\Functional\Wizard\WizardTestBase', E_USER_DEPRECATED);
7 use Drupal\views\Tests\ViewTestBase;
10 * Views UI wizard tests.
12 * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
13 * Use \Drupal\Tests\views\Functional\Wizard\WizardTestBase.
15 abstract class WizardTestBase extends ViewTestBase {
22 public static $modules = ['node', 'views_ui', 'block', 'rest'];
24 protected function setUp() {
27 // Create and log in a user with administer views permission.
28 $views_admin = $this->drupalCreateUser(['administer views', 'administer blocks', 'bypass node access', 'access user profiles', 'view all revisions']);
29 $this->drupalLogin($views_admin);
30 $this->drupalPlaceBlock('local_actions_block');