Changeset 47122 for trunk/tests/phpunit/tests/functions/deprecated.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/deprecated.php
r46586 r47122 154 154 } 155 155 156 // Call wp_save_image_file 156 // Call wp_save_image_file(). 157 157 include_once( ABSPATH . 'wp-admin/includes/image-edit.php' ); 158 158 $file = wp_tempnam(); … … 162 162 unlink( $file ); 163 163 164 // Check if the arg was deprecated 164 // Check if the arg was deprecated. 165 165 $check = $this->was_deprecated( 'argument', 'wp_save_image_file' ); 166 166 $this->assertNotEmpty( $check ); … … 177 177 } 178 178 179 // Call wp_save_image_file 179 // Call wp_save_image_file(). 180 180 include_once( ABSPATH . 'wp-admin/includes/image-edit.php' ); 181 181 $file = wp_tempnam(); … … 185 185 unlink( $file ); 186 186 187 // Check if the arg was deprecated 187 // Check if the arg was deprecated. 188 188 $check = $this->was_deprecated( 'argument', 'wp_save_image_file' ); 189 189 $this->assertFalse( $check );
Note: See TracChangeset
for help on using the changeset viewer.