Changeset 47331 for branches/4.0/tests/phpunit/tests/image/resize.php
- Timestamp:
- 02/20/2020 05:43:23 PM (7 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/image/resize.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
- Property svn:mergeinfo changed
/trunk merged: 30518,30520,30526,31253-31254,31257
- Property svn:mergeinfo changed
-
branches/4.0/tests/phpunit/tests/image/resize.php
r29120 r47331 139 139 140 140 /** 141 * Try resizing a php file (bad image)142 * @ticket 6821143 */144 public function test_resize_bad_image() {145 $image = $this->resize_helper( DIR_TESTDATA.'/export/crazy-cdata.xml', 25, 25 );146 $this->assertInstanceOf( 'WP_Error', $image );147 $this->assertEquals( 'invalid_image', $image->get_error_code() );148 }149 150 151 /**152 141 * Function to help out the tests 153 142 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)