You are here

public function InstallerEmptySettingsTest::testInstaller in Drupal 10

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

Verifies that installation succeeded.

File

core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php, line 30

Class

InstallerEmptySettingsTest
Tests the installer with empty settings file.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstaller() {
  $this
    ->assertSession()
    ->addressEquals('user/1');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}