You are here

public function BambooTwigConfigsTest::testGetConfig in Bamboo Twig 8

@covers Drupal\bamboo_twig_config\TwigExtension\Configs::getConfig

File

tests/src/Functional/BambooTwigConfigsTest.php, line 24

Class

BambooTwigConfigsTest
Tests Configs twig filters and functions.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function testGetConfig() {
  $this
    ->drupalGet('/bamboo-twig-configs');
  $this
    ->assertElementPresent('.test-configs div.config-system');
  $this
    ->assertElementContains('.test-configs div.config-system', 'simpletest@example.com');
}