Changeset 41693
- Timestamp:
- 10/03/2017 12:08:16 AM (7 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r41229 r41693 19 19 public static function wpTearDownAfterClass() { 20 20 $GLOBALS['_wp_additional_image_sizes'] = self::$_sizes; 21 } 22 23 public static function tearDownAfterClass() { 24 wp_delete_post( self::$large_id, true ); 25 parent::tearDownAfterClass(); 21 26 } 22 27 -
trunk/tests/phpunit/tests/post/thumbnails.php
r41267 r41693 21 21 'post_mime_type' => 'image/jpeg', 22 22 ) ); 23 } 24 25 public static function tearDownAfterClass() { 26 wp_delete_post( self::$attachment_id, true ); 27 parent::tearDownAfterClass(); 23 28 } 24 29
Note: See TracChangeset
for help on using the changeset viewer.