function CastedIntFieldJoinTestBase::setUp

Same name in other branches
  1. 10 core/modules/views/tests/src/Kernel/Plugin/CastedIntFieldJoinTestBase.php \Drupal\Tests\views\Kernel\Plugin\CastedIntFieldJoinTestBase::setUp()

Overrides DriverSpecificKernelTestBase::setUp

File

core/modules/views/tests/src/Kernel/Plugin/CastedIntFieldJoinTestBase.php, line 64

Class

CastedIntFieldJoinTestBase
Tests the "casted_int_field_join" join plugin.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

protected function setUp() : void {
    parent::setUp();
    $this->setUpFixtures();
    ViewTestData::createTestViews(self::class, [
        'views_test_config',
    ]);
    Views::viewsData()->clear();
    // Add a join plugin manager which can be used in all of the tests.
    $this->manager = $this->container
        ->get('plugin.manager.views.join');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.