public function WebTestBaseInstallTest::testInstall in Drupal 8
Tests the Drupal install done in \Drupal\simpletest\WebTestBase::setUp().
File
- core/
modules/ simpletest/ src/ Tests/ WebTestBaseInstallTest.php, line 18
Class
- WebTestBaseInstallTest
- Tests the test-specifics customisations done in the installation.
Namespace
Drupal\simpletest\TestsCode
public function testInstall() {
$htaccess_filename = $this
->getTempFilesDirectory() . '/.htaccess';
$this
->assertTrue(file_exists($htaccess_filename), "{$htaccess_filename} exists");
}