Skip to content

Commit

Permalink
Remove previous test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve authored and kraftbj committed Dec 31, 2019
1 parent 912f1cd commit dfd9222
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/php/test_class.jetpack_photon.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ protected function _get_image( $size = 'large', $meta = true ) {
$filename = dirname( __FILE__ ) . '/modules/photon/sample-content/test-image-medium.png';
}

// Add a new full size.
add_image_size( 'full', 2560, 2560, false );

// Add sizes that exist before uploading the file.
add_image_size( 'jetpack_soft_defined', 700, 500, false ); // Intentionally not a 1.33333 ratio.
add_image_size( 'jetpack_soft_undefined', 700, 99999, false );
Expand All @@ -87,7 +84,6 @@ protected function _get_image( $size = 'large', $meta = true ) {
}

protected function _remove_image_sizes(){
remove_image_size( 'full' );
remove_image_size( 'jetpack_soft_defined' );
remove_image_size( 'jetpack_soft_undefined' );
remove_image_size( 'jetpack_soft_undefined_zero' );
Expand Down

0 comments on commit dfd9222

Please sign in to comment.