protected function TokenReplaceTest::setUp in Zircon Profile 8
Same name in this branch
- 8 core/modules/views/src/Tests/TokenReplaceTest.php \Drupal\views\Tests\TokenReplaceTest::setUp()
- 8 core/modules/taxonomy/src/Tests/TokenReplaceTest.php \Drupal\taxonomy\Tests\TokenReplaceTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/TokenReplaceTest.php \Drupal\views\Tests\TokenReplaceTest::setUp()
Parameters
bool $import_test_views: Should the views specififed on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.
Overrides ViewKernelTestBase::setUp
File
- core/
modules/ views/ src/ Tests/ TokenReplaceTest.php, line 29 - Contains \Drupal\views\Tests\TokenReplaceTest.
Class
- TokenReplaceTest
- Tests core view token replacement.
Namespace
Drupal\views\TestsCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', 'url_alias');
$this->container
->get('router.builder')
->rebuild();
}