diff --git a/tests/phpunit/tests/comment/getCommentLink.php b/tests/phpunit/tests/comment/getCommentLink.php index da3d96af7e..32c490bdb2 100644 --- a/tests/phpunit/tests/comment/getCommentLink.php +++ b/tests/phpunit/tests/comment/getCommentLink.php @@ -49,7 +49,7 @@ class Tests_Comment_GetCommentLink extends WP_UnitTestCase { wp_delete_comment( $c, true ); } - wp_delete_post( self::$p ); + wp_delete_post( self::$p, true ); } /**