Changeset 37327
- Timestamp:
- 04/29/2016 04:15:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/resize.php
r31257 r37327 10 10 11 11 abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase { 12 13 public function setUp() { 14 parent::setUp(); 15 16 add_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) ); 17 } 18 19 public function tearDown() { 20 remove_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) ); 21 22 parent::tearDown(); 23 } 24 25 public function wp_image_editors() { 26 return array( $this->editor_engine ); 27 } 12 28 13 29 function test_resize_jpg() {
Note: See TracChangeset
for help on using the changeset viewer.