Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 7e7e048

Browse files
authored
Merge pull request #88 from xwp/fix/teardown
Add teardowns for hook testing properties.
2 parents b074773 + 8e7add2 commit 7e7e048

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/php/test-class-ajax-customize-snapshot-manager.php

+3
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ function add_setting() {
145145
function tearDown() {
146146
$this->plugin->customize_snapshot_manager->customize_manager = null;
147147
$this->manager = null;
148+
$this->actioned_snapshot = null;
149+
$this->actioned_snapshot_manager = null;
150+
$this->filtered_customizer = null;
148151
unset( $GLOBALS['wp_customize'] );
149152
unset( $GLOBALS['wp_scripts'] );
150153
unset( $_SERVER['REQUEST_METHOD'] );

0 commit comments

Comments
 (0)