You are here

public function StandardInstallerTest::testInstaller in Zircon Profile 8

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

Ensures that the user page is available after installation.

File

core/modules/system/src/Tests/Installer/StandardInstallerTest.php, line 25
Contains \Drupal\system\Tests\Installer\StandardInstallerTest.

Class

StandardInstallerTest
Tests the interactive installer installing the standard profile.

Namespace

Drupal\system\Tests\Installer

Code

public function testInstaller() {

  // Verify that the confirmation message appears.
  require_once \Drupal::root() . '/core/includes/install.inc';
  $this
    ->assertRaw(t('Congratulations, you installed @drupal!', array(
    '@drupal' => drupal_install_profile_distribution_name(),
  )));
}