Mercurial > hg > isophonics-drupal-site
view core/modules/simpletest/tests/src/Functional/FolderTest.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\simpletest\Functional; use Drupal\Tests\BrowserTestBase; /** * This test will check SimpleTest's treatment of hook_install during setUp. * Image module is used for test. * * @group simpletest */ class FolderTest extends BrowserTestBase { /** * Modules to enable. * * @var array */ public static $modules = ['image']; public function testFolderSetup() { $directory = file_default_scheme() . '://styles'; $this->assertTrue(file_prepare_directory($directory, FALSE), 'Directory created.'); } }