Changeset 1148 in tests for trunk/tests/functions/deprecated.php
- Timestamp:
- 11/21/2012 03:01:28 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/functions/deprecated.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/functions/deprecated.php
r1061 r1148 28 28 */ 29 29 protected $_deprecated_files = array(); 30 30 31 31 /** 32 32 * Set up the test fixture … … 105 105 ); 106 106 } 107 107 108 108 /** 109 109 * Check if something was deprecated … … 133 133 return false; 134 134 } 135 135 136 136 /** 137 137 * Test that wp_save_image_file has a deprecated argument when passed a GD resource … … 150 150 // Check if the arg was deprecated 151 151 $check = $this->was_deprecated( 'argument', 'wp_save_image_file' ); 152 $this->assertNotEmpty( $check ); 152 $this->assertNotEmpty( $check ); 153 153 } 154 154 155 155 /** 156 156 * Test that wp_save_image_file doesn't have a deprecated argument when passed a WP_Image_Editor
Note: See TracChangeset
for help on using the changeset viewer.