You are here

function file_test_file_scan_callback_reset in SimpleTest 7

Reset static variables used by file_test_file_scan_callback().

1 call to file_test_file_scan_callback_reset()
FileScanDirectoryTest::testOptionCallback in tests/file.test
Check that the callback function is called correctly.

File

tests/file.test, line 41
This provides SimpleTests for the core file handling functionality. These include FileValidateTest and FileSaveTest.

Code

function file_test_file_scan_callback_reset() {
  drupal_static_reset('file_test_file_scan_callback');
}