Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiannar committed Feb 2, 2024
1 parent 73482c3 commit cc204da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public function set_up() {
* @after
*/
public function tear_down() {
global $wp_actions;
// Restore `init` in global $wp_actions.
$wp_actions['init'] = true;

$this->http_request_attempted = false;
Constants::clear_constants();
WorDBless_Options::init()->clear_options();
Expand Down

0 comments on commit cc204da

Please sign in to comment.