Skip to content

Commit

Permalink
Change install_wc hook
Browse files Browse the repository at this point in the history
  • Loading branch information
martynmjones committed Nov 24, 2023
1 parent 487625e commit 5649cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/class-unittestsbootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function init() {

// load WC
tests_add_filter( 'muplugins_loaded', array( $this, 'load_plugins' ) );
tests_add_filter( 'setup_theme', array( $this, 'install_wc' ) );
tests_add_filter( 'init', array( $this, 'install_wc' ) );
tests_add_filter( 'option_active_plugins', [ $this, 'filter_active_plugins' ] );

// load the WP testing environment
Expand Down

0 comments on commit 5649cd7

Please sign in to comment.