You are here

public function InstallerExistingSettingsNoProfileTest::testInstaller in Zircon Profile 8

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

Verifies that installation succeeded.

File

core/modules/system/src/Tests/Installer/InstallerExistingSettingsNoProfileTest.php, line 70
Contains \Drupal\system\Tests\Installer\InstallerExistingSettingsNoProfileTest.

Class

InstallerExistingSettingsNoProfileTest
Tests the installer with an existing settings file but no install profile.

Namespace

Drupal\system\Tests\Installer

Code

public function testInstaller() {
  $this
    ->assertUrl('user/1');
  $this
    ->assertResponse(200);
  $this
    ->assertEqual('testing', Settings::get('install_profile'));
}