You are here

public function BambooTwigTestBase::setUp in Bamboo Twig 8.5

Same name and namespace in other branches
  1. 8.4 tests/src/Functional/BambooTwigTestBase.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigTestBase::setUp()

Overrides BrowserTestBase::setUp

7 calls to BambooTwigTestBase::setUp()
BambooTwigConfigTest::setUp in tests/src/Functional/BambooTwigConfigTest.php
BambooTwigExtensionsI18nTest::setUp in tests/src/Functional/BambooTwigExtensionsI18nTest.php
BambooTwigI18nTest::setUp in tests/src/Functional/BambooTwigI18nTest.php
BambooTwigLoaderTest::setUp in tests/src/Functional/BambooTwigLoaderTest.php
BambooTwigRenderTest::setUp in tests/src/Functional/BambooTwigRenderTest.php

... See full list

7 methods override BambooTwigTestBase::setUp()
BambooTwigConfigTest::setUp in tests/src/Functional/BambooTwigConfigTest.php
BambooTwigExtensionsI18nTest::setUp in tests/src/Functional/BambooTwigExtensionsI18nTest.php
BambooTwigI18nTest::setUp in tests/src/Functional/BambooTwigI18nTest.php
BambooTwigLoaderTest::setUp in tests/src/Functional/BambooTwigLoaderTest.php
BambooTwigRenderTest::setUp in tests/src/Functional/BambooTwigRenderTest.php

... See full list

File

tests/src/Functional/BambooTwigTestBase.php, line 52

Class

BambooTwigTestBase
Has some additional helper methods to make test code more readable.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function setUp() : void {
  parent::setUp();

  /** @var \Drupal\Core\Entity\EntityTypeManager $entityTypeManager */
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
}