You are here

function feeds_tests_files_empty in Feeds 7.2

Outputs a CSV file pointing to no files.

This is used to test if files are removed on a second import.

1 string reference to 'feeds_tests_files_empty'
feeds_tests_menu in tests/feeds_tests.module
Implements hook_menu().

File

tests/feeds_tests.module, line 260
Helper module for Feeds tests.

Code

function feeds_tests_files_empty() {
  $images = array(
    0 => '',
    1 => '',
    2 => '',
    3 => '',
    4 => '',
  );
  drupal_add_http_header('Content-Type', 'text/plain; charset=utf-8');
  print theme('feeds_tests_files_empty', array(
    'files' => $images,
  ));
}