Skip to content

Commit 648c1e0

Browse files
committed
Revert "Let's skip tests for now and fix in a follow-up"
This reverts commit ebc9cd2.
1 parent 6ac0594 commit 648c1e0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

projects/packages/image-cdn/tests/php/test_class.image_cdn.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,6 @@ public function test_image_cdn_return_custom_size_array_dimensions_larger_than_o
856856

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

859-
$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.
860-
861859
// Declaring the size array directly, unknown size of 1200 by 1200. Should return original.
862860
$this->assertEquals(
863861
'fit=1024%2C768',
@@ -1493,8 +1491,6 @@ public function test_image_cdn_cdn_in_rest_response_with_created_item() {
14931491
$large_url = isset( $data['media_details']['sizes']['large']['source_url'] ) ? $data['media_details']['sizes']['large']['source_url'] : false;
14941492

14951493
if ( ! $large_url ) {
1496-
$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.
1497-
14981494
$this->fail( 'REST API media upload failed to return the expected data.' );
14991495
}
15001496

@@ -1596,8 +1592,6 @@ public function test_image_cdn_strip_image_dimensions_maybe_strips_resized_strin
15961592

15971593
$expected = wp_get_attachment_url( $id );
15981594

1599-
$this->markTestSkipped( 'Skipping until we can fix the test' ); // @todo: Fix this test.
1600-
16011595
$this->assertEquals( $expected, Image_CDN::strip_image_dimensions_maybe( $url ) );
16021596

16031597
wp_delete_attachment( $id );

0 commit comments

Comments
 (0)