public function BambooTwigPathTest::testPathSystem in Bamboo Twig 8.4
Same name and namespace in other branches
- 8.5 tests/src/Functional/BambooTwigPathTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigPathTest::testPathSystem()
- 8.2 tests/src/Functional/BambooTwigPathTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigPathTest::testPathSystem()
- 8.3 tests/src/Functional/BambooTwigPathTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigPathTest::testPathSystem()
@covers Drupal\bamboo_twig_path\TwigExtension\Path::getSystemPath
File
- tests/
src/ Functional/ BambooTwigPathTest.php, line 25
Class
- BambooTwigPathTest
- Tests Path twig filters and functions.
Namespace
Drupal\Tests\bamboo_twig\FunctionalCode
public function testPathSystem() {
$this
->drupalGet('/bamboo-twig-path');
$this
->assertElementPresent('.test-paths div.path-theme');
$this
->assertElementContains('.test-paths div.path-theme', 'core/themes/stable');
$this
->assertElementPresent('.test-paths div.path-core');
$this
->assertElementContains('.test-paths div.path-core', 'core');
$this
->assertElementPresent('.test-paths div.path-module');
$this
->assertElementContains('.test-paths div.path-module', 'core/modules/node');
}