Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama authored and enejb committed Jan 15, 2025
1 parent b10663e commit c1d6f01
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ public function tear_down() {
remove_all_filters( 'wp_mail' );
remove_all_filters( 'grunion_still_email_spam' );
remove_all_filters( 'jetpack_contact_form_is_spam' );

// Reset the forms array
Contact_Form::$forms = array();
Contact_Form::$last = null;
Contact_Form::$current_form = null;
}

/**
Expand Down

0 comments on commit c1d6f01

Please sign in to comment.