Changeset 47338 for branches/3.8/tests/phpunit/tests/image/base.php
- Timestamp:
- 02/21/2020 01:05:39 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
-
branches/3.8/tests/phpunit/tests/image/base.php
r25002 r47338 10 10 */ 11 11 public function setUp() { 12 parent::setUp(); 13 12 14 if ( ! call_user_func( array( $this->editor_engine, 'test' ) ) ) { 13 15 $this->markTestSkipped( sprintf('The image editor engine %s is not supported on this system', $this->editor_engine) ); … … 21 23 */ 22 24 public function tearDown() { 25 parent::tearDown(); 26 23 27 remove_filter( 'wp_image_editors', array( $this, 'setEngine' ), 10, 2 ); 28 parent::tearDown(); 24 29 } 25 30 … … 34 39 /** 35 40 * Helper assertion for testing alpha on images 36 * 41 * 37 42 * @param string $image_path 38 43 * @param array $point array(x,y)
Note: See TracChangeset
for help on using the changeset viewer.