Make WordPress Core

Ticket #38264: 38264.patch

File 38264.patch, 502 bytes (added by atanasangelovdev, 4 years ago)
  • tests/phpunit/tests/media.php

     
    2020                $GLOBALS['_wp_additional_image_sizes'] = self::$_sizes;
    2121        }
    2222
     23        public static function tearDownAfterClass() {
     24                wp_delete_post( self::$large_id, true );
     25                parent::tearDownAfterClass();
     26        }
     27
    2328        function setUp() {
    2429                parent::setUp();
    2530                $this->caption = 'A simple caption.';