function ViewsConfigUpdaterTest::setUp

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

Overrides ViewsKernelTestBase::setUp

File

core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php, line 30

Class

ViewsConfigUpdaterTest
@coversDefaultClass \Drupal\views\ViewsConfigUpdater

Namespace

Drupal\Tests\views\Kernel

Code

protected function setUp($import_test_views = TRUE) {
    parent::setUp();
    $this->configUpdater = $this->container
        ->get('class_resolver')
        ->getInstanceFromDefinition(ViewsConfigUpdater::class);
}

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