view core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
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");
  }

}