public function BrowserTestBaseTest::testInstall in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php \Drupal\FunctionalTests\BrowserTestBaseTest::testInstall()
- 9 core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php \Drupal\FunctionalTests\BrowserTestBaseTest::testInstall()
Tests the Drupal install done in \Drupal\Tests\BrowserTestBase::setUp().
File
- core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php, line 555
Class
- BrowserTestBaseTest
- Tests BrowserTestBase functionality.
Namespace
Drupal\FunctionalTestsCode
public function testInstall() {
$htaccess_filename = $this->tempFilesDirectory . '/.htaccess';
$this
->assertFileExists($htaccess_filename);
// Ensure the update module is not installed.
$this
->assertFalse(\Drupal::moduleHandler()
->moduleExists('update'), 'The Update module is not installed.');
}