mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed?
The Future Is Now. Fixes #28847. git-svn-id: https://develop.svn.wordpress.org/trunk@29120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
* @group image
|
||||
* @group media
|
||||
* @group upload
|
||||
* @group resize
|
||||
*/
|
||||
require_once( dirname( __FILE__ ) . '/base.php' );
|
||||
|
||||
abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase {
|
||||
|
||||
function test_resize_jpg() {
|
||||
@@ -108,7 +111,7 @@ abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase
|
||||
$this->assertEquals( 100, $h );
|
||||
$this->assertEquals( IMAGETYPE_JPEG, $type );
|
||||
|
||||
unlink($image);
|
||||
unlink( $image );
|
||||
}
|
||||
|
||||
function test_resize_thumb_50x150_crop() {
|
||||
|
||||
Reference in New Issue
Block a user