You are here

protected function UnsavedPreviewTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/Tests/UnsavedPreviewTest.php \Drupal\views_ui\Tests\UnsavedPreviewTest::setUp()

Sets up a Drupal site for running functional and integration tests.

Overrides ViewTestBase::setUp

File

core/modules/views_ui/src/Tests/UnsavedPreviewTest.php, line 41
Contains \Drupal\views_ui\Tests\UnsavedPreviewTest.

Class

UnsavedPreviewTest
Tests covering Preview of unsaved Views.

Namespace

Drupal\views_ui\Tests

Code

protected function setUp() {
  parent::setUp(FALSE);
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer views',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}