Skip to content

Commit cd48a27

Browse files
restore tear_down, inadvertent change
1 parent 5c08331 commit cd48a27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/phpunit/tests/comment/query.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
2424
self::$post_id = $factory->post->create();
2525
}
2626

27+
public function tear_down() {
28+
unset( $this->to_exclude );
29+
parent::tear_down();
30+
}
31+
2732
/**
2833
* @covers WP_Comment_Query::query
2934
*/

0 commit comments

Comments
 (0)