mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
unlink() the generated image in Tests_Image_Intermediate_Size::test_make_intermediate_size_successful() at the end of the test to avoid cruff in svn diffs.
git-svn-id: https://develop.svn.wordpress.org/trunk@25507 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -42,5 +42,7 @@ class Tests_Image_Intermediate_Size extends WP_UnitTestCase {
|
||||
$this->assertEquals( 'image/jpeg', $image['mime-type'] );
|
||||
|
||||
$this->assertFalse( isset( $image['path'] ) );
|
||||
|
||||
unlink( DIR_TESTDATA . '/images/a2-small-100x75.jpg' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user