You are here

protected function JoinTest::setUp in Zircon Profile 8

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

Parameters

bool $import_test_views: Should the views specififed 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 ViewKernelTestBase::setUp

File

core/modules/views/src/Tests/Plugin/JoinTest.php, line 38
Contains \Drupal\views\Tests\Plugin\JoinTest.

Class

JoinTest
Tests the join plugin.

Namespace

Drupal\views\Tests\Plugin

Code

protected function setUp() {
  parent::setUp();

  // Add a join plugin manager which can be used in all of the tests.
  $this->manager = $this->container
    ->get('plugin.manager.views.join');
}