File
- drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/FolderTest.php, line 32
- Definition of Drupal\simpletest\Tests\FolderTest.
Class
- FolderTest
- Test Folder creation
Namespace
Drupal\simpletest\Tests
Code
function testFolderSetup() {
$directory = file_default_scheme() . '://styles';
$this
->assertTrue(file_prepare_directory($directory, FALSE), "Directory created.");
}