Skip to content

Commit

Permalink
update filesize for gif 2 webp unit test via api
Browse files Browse the repository at this point in the history
  • Loading branch information
nosilver4u committed Jan 14, 2025
1 parent 03ca1e7 commit 479c7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-optimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function test_optimize_gif_10_api() {
update_site_option( 'ewww_image_optimizer_cloud_key', '' );
$this->assertEquals( 8900, filesize( $results[0] ) );
unlink( $results[0] );
$this->assertEquals( 8014, filesize( $results[0] . '.webp' ) );
$this->assertEquals( 8008, filesize( $results[0] . '.webp' ) );
if ( ewwwio_is_file( $results[0] . '.webp' ) ) {
unlink( $results[0] . '.webp' );
}
Expand Down

0 comments on commit 479c7fb

Please sign in to comment.