You are here

function image_test_save in SimpleTest 7

Image tookit's save operation.

File

tests/image_test.module, line 100
Helper module for the image tests.

Code

function image_test_save(stdClass $image, $destination) {
  _image_test_log_call('save', array(
    $image,
    $destination,
  ));

  // Return false so that image_save() doesn't try to chmod the destination
  // file that we didn't bother to create.
  return FALSE;
}