Make WordPress Core

Changeset 32794


Ignore:
Timestamp:
06/16/2015 12:37:30 PM (9 years ago)
Author:
boonebgorges
Message:

Clean up uploaded file after test_media_handle_upload_sets_post_excerpt().

Props McGuive7.
Fixes #32534.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/media.php

    r32787 r32794  
    567567        $post = get_post( $post_id );
    568568
     569        // Clean up.
     570        wp_delete_attachment( $post_id );
     571
    569572        $this->assertEquals( 'This is a comment. / Это комментарий. / Βλέπετε ένα σχόλιο.', $post->post_excerpt );
    570573    }
Note: See TracChangeset for help on using the changeset viewer.