Index: tests/phpunit/tests/comment/query.php
===================================================================
--- tests/phpunit/tests/comment/query.php	(revision 36413)
+++ tests/phpunit/tests/comment/query.php	(working copy)
@@ -1686,6 +1686,7 @@
 	public function test_post_type_array() {
 		register_post_type( 'post-type-1' );
 		register_post_type( 'post-type-2' );
+		register_post_type( 'post-type-3' );
 
 		$p1 = self::factory()->post->create( array( 'post_type' => 'post-type-1' ) );
 		$p2 = self::factory()->post->create( array( 'post_type' => 'post-type-2' ) );
@@ -1705,6 +1706,7 @@
 
 		_unregister_post_type( 'post-type-1' );
 		_unregister_post_type( 'post-type-2' );
+		_unregister_post_type( 'post-type-3' );
 	}
 
 	public function test_post_name_single_value() {
