WebTestBaseInstallTest.php 521 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

namespace Drupal\simpletest\Tests;

use Drupal\simpletest\WebTestBase;

/**
 * Tests the test-specifics customisations done in the installation.
 *
 * @group simpletest
 */
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");
  }

}