You are here

protected function BlazyViewsTestBase::setUp in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Views/BlazyViewsTestBase.php \Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase::setUp()

Parameters

bool $import_test_views: Should the views specified on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.

Overrides ViewsKernelTestBase::setUp

2 calls to BlazyViewsTestBase::setUp()
BlazyViewsFileTest::setUp in tests/src/Kernel/Views/BlazyViewsFileTest.php
BlazyViewsGridTest::setUp in tests/src/Kernel/Views/BlazyViewsGridTest.php
2 methods override BlazyViewsTestBase::setUp()
BlazyViewsFileTest::setUp in tests/src/Kernel/Views/BlazyViewsFileTest.php
BlazyViewsGridTest::setUp in tests/src/Kernel/Views/BlazyViewsGridTest.php

File

tests/src/Kernel/Views/BlazyViewsTestBase.php, line 40

Class

BlazyViewsTestBase
Defines base class for Blazy Views integration.

Namespace

Drupal\Tests\blazy\Kernel\Views

Code

protected function setUp($import_test_views = TRUE) {
  parent::setUp($import_test_views);
  $this
    ->setUpVariables();
  $this
    ->setUpKernelInstall();
  $this
    ->setUpKernelManager();
  $this
    ->setUpRealImage();
}