Skip to content

Commit

Permalink
Revert "Let's skip tests for now and fix in a follow-up"
Browse files Browse the repository at this point in the history
This reverts commit ebc9cd2.
  • Loading branch information
kraftbj committed Jan 22, 2025
1 parent 6ac0594 commit 648c1e0
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,6 @@ public function test_image_cdn_return_custom_size_array_dimensions_larger_than_o

$test_image = $this->helper_get_image( 'medium' ); // Original 1024x768.

$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.

// Declaring the size array directly, unknown size of 1200 by 1200. Should return original.
$this->assertEquals(
'fit=1024%2C768',
Expand Down Expand Up @@ -1493,8 +1491,6 @@ public function test_image_cdn_cdn_in_rest_response_with_created_item() {
$large_url = isset( $data['media_details']['sizes']['large']['source_url'] ) ? $data['media_details']['sizes']['large']['source_url'] : false;

if ( ! $large_url ) {
$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.

$this->fail( 'REST API media upload failed to return the expected data.' );
}

Expand Down Expand Up @@ -1596,8 +1592,6 @@ public function test_image_cdn_strip_image_dimensions_maybe_strips_resized_strin

$expected = wp_get_attachment_url( $id );

$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.

$this->assertEquals( $expected, Image_CDN::strip_image_dimensions_maybe( $url ) );

wp_delete_attachment( $id );
Expand Down

0 comments on commit 648c1e0

Please sign in to comment.