Changeset 29120 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 07/12/2014 07:08:15 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r28603 r29120 89 89 $files = array( 90 90 // 'test-image-cmyk.jpg', Allowed in r9727 91 // 'test-image.bmp', Allowed in r28589 91 // 'test-image.bmp', Allowed in r28589 92 92 // 'test-image-grayscale.jpg', Allowed in r9727 93 93 'test-image.pct', … … 145 145 146 146 // Clean up 147 @unlink( $file );148 @unlink( $ret['path'] );147 unlink( $file ); 148 unlink( $ret['path'] ); 149 149 } 150 150 … … 186 186 187 187 // Clean up 188 @unlink( $file );189 @unlink( $ret['path'] );188 unlink( $file ); 189 unlink( $ret['path'] ); 190 190 unset( $img ); 191 191 } … … 232 232 $this->assertNotInstanceOf( 'WP_Error', $ret ); 233 233 $this->assertEquals( $mime_type, $this->get_mime_type( $ret['path'] ) ); 234 @unlink( $file ); 235 @unlink( $ret['path'] ); 234 unlink( $ret['path'] ); 236 235 } 237 236
Note: See TracChangeset
for help on using the changeset viewer.