You are here

function FileEntityPathsHelper::setUpFiles in File Entity Paths 7.2

1 call to FileEntityPathsHelper::setUpFiles()
FileEntityPathsHelper::setUp in tests/fe_paths.test
Sets up a Drupal site for running functional and integration tests.

File

tests/fe_paths.test, line 38
Tests for File Entity Paths

Class

FileEntityPathsHelper
@file Tests for File Entity Paths

Code

function setUpFiles() {
  $types = array(
    'text',
    'image',
  );
  foreach ($types as $type) {
    foreach ($this
      ->drupalGetTestFiles($type) as $file) {
      $this->files[$type][] = $file;
    }
  }
}