InstallerExistingInstallationTest.php in Drupal 10
File
core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
View source
<?php
namespace Drupal\FunctionalTests\Installer;
class InstallerExistingInstallationTest extends InstallerTestBase {
protected $defaultTheme = 'stark';
public function testInstaller() {
$this
->visitInstaller();
$this
->assertSession()
->pageTextContains('Drupal already installed');
unlink($this->siteDirectory . '/settings.php');
$this
->visitInstaller();
$this
->setUpLanguage();
$this
->setUpProfile();
$this
->setUpRequirementsProblem();
$this
->setUpSettings();
$this
->assertSession()
->pageTextContains('Drupal already installed');
}
}