You are here

public function InstallerExistingSettingsNoProfileTest::testInstaller in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsNoProfileTest::testInstaller()

Verifies that installation succeeded.

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php, line 66

Class

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

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstaller() {
  $this
    ->assertSession()
    ->addressEquals('user/1');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
  $this
    ->assertEquals('testing', \Drupal::installProfile());
}