view core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 4c8ae668cc8c
children
line wrap: on
line 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");
  }

}