public function BambooTwigConfigTest::testGetSettings 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::testGetSettings()
- 8.3 tests/src/Functional/BambooTwigConfigTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigConfigTest::testGetSettings()
- 8.4 tests/src/Functional/BambooTwigConfigTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigConfigTest::testGetSettings()
@covers Drupal\bamboo_twig_config\TwigExtension\Config::getSettings
File
- tests/
src/ Functional/ BambooTwigConfigTest.php, line 42
Class
- BambooTwigConfigTest
- Tests Config twig filters and functions.
Namespace
Drupal\Tests\bamboo_twig\FunctionalCode
public function testGetSettings() {
$this
->drupalGet('/bamboo-twig-config');
$this
->assertElementPresent('.test-configs div.config-settings');
$this
->assertElementContains('.test-configs div.config-settings', $this->hashSalt);
}