You are here

protected function TokenReplaceUnitTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/System/TokenReplaceUnitTest.php \Drupal\system\Tests\System\TokenReplaceUnitTest::setUp()

@inheritdoc

Overrides TokenReplaceUnitTestBase::setUp

File

core/modules/system/src/Tests/System/TokenReplaceUnitTest.php, line 26
Contains \Drupal\system\Tests\System\TokenReplaceUnitTest.

Class

TokenReplaceUnitTest
Generates text using placeholders for dummy content to check token replacement.

Namespace

Drupal\system\Tests\System

Code

protected function setUp() {
  parent::setUp();

  // Set the site name to something other than an empty string.
  $this
    ->config('system.site')
    ->set('name', 'Drupal')
    ->save();
}