1 image.test | ImageToolkitUnitTest::testSave() |
Test the image_save() function.
File
- core/
modules/ simpletest/ tests/ image.test, line 102 - Tests for core image handling API.
Class
- ImageToolkitUnitTest
- Test that the functions in image.inc correctly pass data to the toolkit.
Code
function testSave() {
$this->assertFalse(image_save($this->image), 'Function returned the expected value.');
$this->assertToolkitOperationsCalled(array('save'));
}