Changeset 42780 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 03/05/2018 01:02:20 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r42343 r42780 62 62 ); 63 63 64 // IMAGETYPE_ICO is only defined in PHP 5.3+. 65 if ( defined( 'IMAGETYPE_ICO' ) ) { 66 $files[] = 'test-image.ico'; 67 } 68 64 69 foreach ( $files as $file ) { 65 70 $this->assertTrue( file_is_valid_image( DIR_TESTDATA . '/images/' . $file ), "file_is_valid_image($file) should return true" ); … … 87 92 'test-image.jpg', 88 93 ); 94 95 // IMAGETYPE_ICO is only defined in PHP 5.3+. 96 if ( defined( 'IMAGETYPE_ICO' ) ) { 97 $files[] = 'test-image.ico'; 98 } 89 99 90 100 foreach ( $files as $file ) {
Note: See TracChangeset
for help on using the changeset viewer.