WebTestBaseInstallTest.php

Namespace

Drupal\simpletest\Tests

File

core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php

View source
<?php

namespace Drupal\simpletest\Tests;

use Drupal\simpletest\WebTestBase;

/**
 * Tests the test-specifics customisations done in the installation.
 *
 * @group simpletest
 * @group WebTestBase
 */
class WebTestBaseInstallTest extends WebTestBase {
    
    /**
     * Tests the Drupal install done in \Drupal\simpletest\WebTestBase::setUp().
     */
    public function testInstall() {
        $htaccess_filename = $this->getTempFilesDirectory() . '/.htaccess';
        $this->assertTrue(file_exists($htaccess_filename), "{$htaccess_filename} exists");
    }

}

Classes

Title Deprecated Summary
WebTestBaseInstallTest Tests the test-specifics customisations done in the installation.

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