Skip to content

Commit

Permalink
Fix Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Jan 31, 2025
1 parent b334e84 commit 078e1cd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function set_up() {
add_filter( 'pre_get_rocket_option_host_fonts_locally', [ $this, 'host_fonts_locally' ] );
add_filter( 'rocket_host_fonts_locally_inline_css', [ $this, 'locally_inline_css' ] );
add_filter('rocket_exclude_locally_host_fonts', [ $this, 'exclude_locally_host_fonts' ] );
add_filter('rocket_disable_meta_generator', '__return_true');
$this->setup_http();

}
Expand All @@ -32,6 +33,7 @@ public function tear_down() {
remove_filter('pre_get_rocket_option_host_fonts_locally', [$this, 'host_fonts_locally']);
remove_filter('rocket_host_fonts_locally_inline_css', [$this, 'locally_inline_css']);
remove_filter('rocket_exclude_locally_host_fonts', [ $this, 'exclude_locally_host_fonts' ] );
remove_filter('rocket_disable_meta_generator', '__return_true');

$this->restoreWpHook('rocket_buffer');
$this->tear_down_http();
Expand Down

0 comments on commit 078e1cd

Please sign in to comment.