diff core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children 12f9dff5fda9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php	Thu Jul 05 14:24:15 2018 +0000
@@ -0,0 +1,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");
+  }
+
+}