Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Feb 14, 2025
1 parent 86be3df commit f45d1c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Integration/inc/Engine/Support/Data/getSupportData.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function set_up() {

add_filter( 'rocket_above_the_fold_optimization', '__return_true' );
add_filter( 'rocket_lrc_optimization', '__return_true' );
add_filter( 'rocket_preload_fonts_optimization', '__return_true' );

$this->wp_version = $wp_version;
}
Expand All @@ -30,6 +31,8 @@ public function tear_down() {

remove_filter( 'rocket_above_the_fold_optimization', '__return_true' );
remove_filter( 'rocket_lrc_optimization', '__return_true' );
remove_filter( 'rocket_preload_fonts_optimization', '__return_true' );


$wp_version = $this->wp_version;

Expand Down

0 comments on commit f45d1c8

Please sign in to comment.