function SimpleTestFolderTestCase::testFolderSetup

7.x simpletest.test SimpleTestFolderTestCase::testFolderSetup()

File

drupal-7.x/modules/simpletest/simpletest.test, line 477
Tests for simpletest.module.

Class

SimpleTestFolderTestCase
Test Folder creation

Code

function testFolderSetup() {
  $directory = file_default_scheme() . '://styles';
  $this->assertTrue(file_prepare_directory($directory, FALSE), 'Directory created.');
}