function WebTestBaseInstallTest::testInstall

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\Tests

Code

public function testInstall() {
    $htaccess_filename = $this->getTempFilesDirectory() . '/.htaccess';
    $this->assertTrue(file_exists($htaccess_filename), "{$htaccess_filename} exists");
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.