public function BambooTwigConfigTest::testGetConfig in Bamboo Twig 8.2
Same name and namespace in other branches
- 8.5 tests/src/Functional/BambooTwigConfigTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigConfigTest::testGetConfig()
- 8.3 tests/src/Functional/BambooTwigConfigTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigConfigTest::testGetConfig()
- 8.4 tests/src/Functional/BambooTwigConfigTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigConfigTest::testGetConfig()
@covers Drupal\bamboo_twig_config\TwigExtension\Config::getConfig
File
- tests/
src/ Functional/ BambooTwigConfigTest.php, line 52
Class
- BambooTwigConfigTest
- Tests Config twig filters and functions.
Namespace
Drupal\Tests\bamboo_twig\FunctionalCode
public function testGetConfig() {
$this
->drupalGet('/bamboo-twig-config');
$this
->assertElementPresent('.test-configs div.config-system');
$this
->assertElementContains('.test-configs div.config-system', 'simpletest@example.com');
}