You are here

function FolderTest::testFolderSetup in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/Tests/FolderTest.php \Drupal\simpletest\Tests\FolderTest::testFolderSetup()

File

core/modules/simpletest/src/Tests/FolderTest.php, line 27
Contains \Drupal\simpletest\Tests\FolderTest.

Class

FolderTest
This test will check SimpleTest's treatment of hook_install during setUp. Image module is used for test.

Namespace

Drupal\simpletest\Tests

Code

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