You are here

public function BambooTwigTokenTest::setUp in Bamboo Twig 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/BambooTwigTokenTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigTokenTest::setUp()
  2. 8.2 tests/src/Functional/BambooTwigTokenTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigTokenTest::setUp()
  3. 8.3 tests/src/Functional/BambooTwigTokenTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigTokenTest::setUp()

Overrides BambooTwigTestBase::setUp

File

tests/src/Functional/BambooTwigTokenTest.php, line 29

Class

BambooTwigTokenTest
Tests Token twig filters and functions.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->setUpLanguages();
  $this
    ->setUpTags();
  $this
    ->setUpArticles();
  $this->container
    ->get('router.builder')
    ->rebuild();
}