Changeset 40544
- Timestamp:
- 04/23/2017 10:11:52 PM (8 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Compression.php
r37150 r40544 58 58 59 59 if ( !function_exists( 'gzdeflate' ) ) { 60 $this-> markTestSkipped( 'gzdeflate function not available' );60 $this->fail( 'gzdeflate function not available' ); 61 61 } 62 62 … … 85 85 86 86 if ( !function_exists('gzencode') ) { 87 $this-> markTestSkipped( 'gzencode function not available' );87 $this->fail( 'gzencode function not available' ); 88 88 } 89 89 -
trunk/tests/phpunit/tests/db.php
r40529 r40544 508 508 if ( count( $wpdb->get_results( 'SHOW CREATE PROCEDURE `test_mysqli_flush_sync_procedure`' ) ) < 1 ) { 509 509 $wpdb->suppress_errors( $suppress ); 510 $this-> markTestSkipped( 'procedure could not be created (missing privileges?)' );510 $this->fail( 'procedure could not be created (missing privileges?)' ); 511 511 } 512 512 -
trunk/tests/phpunit/tests/functions/deprecated.php
r29120 r40544 141 141 public function test_wp_save_image_file_deprecated_with_gd_resource() { 142 142 if ( !function_exists( 'imagejpeg' ) ) 143 $this-> markTestSkipped( 'jpeg support unavailable' );143 $this->fail( 'jpeg support unavailable' ); 144 144 145 145 // Call wp_save_image_file … … 162 162 public function test_wp_save_image_file_not_deprecated_with_wp_image_editor() { 163 163 if ( !function_exists( 'imagejpeg' ) ) 164 $this-> markTestSkipped( 'jpeg support unavailable' );164 $this->fail( 'jpeg support unavailable' ); 165 165 166 166 // Call wp_save_image_file -
trunk/tests/phpunit/tests/image/meta.php
r38761 r40544 12 12 if ( ! extension_loaded( 'exif' ) ) 13 13 $this->markTestSkipped( 'The exif PHP extension is not loaded.' ); 14 if ( ! is_callable( 'wp_read_image_metadata' ) )15 $this->markTestSkipped( 'wp_read_image_metadata() is not callable.' );16 14 parent::setUp(); 17 15 }
Note: See TracChangeset
for help on using the changeset viewer.