function SimpleTestFolderTestCase::testFolderSetup
File
-
modules/
simpletest/ simpletest.test, line 550
Class
- SimpleTestFolderTestCase
- Test Folder creation
Code
function testFolderSetup() {
$directory = file_default_scheme() . '://styles';
$this->assertTrue(file_prepare_directory($directory, FALSE), 'Directory created.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.