Mercurial > hg > isophonics-drupal-site
diff core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | af1871eacc83 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/simpletest/src/Tests/WebTestBaseInstallTest.php Wed Nov 29 16:09:58 2017 +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"); + } + +}