BambooTwigPathTest.php in Bamboo Twig 8.2
File
tests/src/Functional/BambooTwigPathTest.php
View source
<?php
namespace Drupal\Tests\bamboo_twig\Functional;
class BambooTwigPathTest extends BambooTwigTestBase {
public static $modules = [
'bamboo_twig',
'bamboo_twig_path',
'bamboo_twig_test',
];
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');
}
}