You are here

function SiteNameTest::testSiteName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Installer/SiteNameTest.php \Drupal\system\Tests\Installer\SiteNameTest::testSiteName()

Tests that the desired site name appears on the page after installation.

File

core/modules/system/src/Tests/Installer/SiteNameTest.php, line 39
Contains \Drupal\system\Tests\Installer\SiteNameTest.

Class

SiteNameTest
Tests that the site name can be set during a non-interactive installation.

Namespace

Drupal\system\Tests\Installer

Code

function testSiteName() {
  $this
    ->drupalGet('');
  $this
    ->assertRaw($this->siteName, 'The site name that was set during the installation appears on the front page after installation.');
}