Index: tests/phpunit/tests/query/invalidQueries.php
===================================================================
--- tests/phpunit/tests/query/invalidQueries.php	(revision 52576)
+++ tests/phpunit/tests/query/invalidQueries.php	(working copy)
@@ -91,11 +91,10 @@
 		global $wpdb;
 
 		$query = new WP_Query( array( 'post_type' => 'unregistered_cpt' ) );
-		$posts = $query->get_posts();
 
 		$this->assertStringContainsString( "{$wpdb->posts}.post_type = 'unregistered_cpt'", self::$last_posts_request );
 		$this->assertStringContainsString( "{$wpdb->posts}.post_status = 'publish'", self::$last_posts_request );
-		$this->assertCount( 0, $posts );
+		$this->assertCount( 0, $query->posts );
 	}
 
 	/**
@@ -111,10 +110,9 @@
 				'post_type' => array( 'unregistered_cpt', 'page' ),
 			)
 		);
-		$posts = $query->get_posts();
 
 		$this->assertStringContainsString( "{$wpdb->posts}.post_type = 'unregistered_cpt'", self::$last_posts_request );
-		$this->assertCount( 1, $posts, 'the valid `page` post type should still return one post' );
+		$this->assertCount( 1, $query->posts, 'the valid `page` post type should still return one post' );
 	}
 
 	/**
@@ -143,10 +141,9 @@
 				'post_type' => 'page',
 			)
 		);
-		$posts = $query->get_posts();
 
 		// Only the published page should be returned.
-		$this->assertCount( 1, $posts );
+		$this->assertCount( 1, $query->posts );
 	}
 
 	/**
@@ -158,9 +155,8 @@
 				'static' => 'a',
 			)
 		);
-		$posts = $query->get_posts();
 
 		// Only the published post should be returned.
-		$this->assertCount( 1, $posts );
+		$this->assertCount( 1, $query->posts );
 	}
 }
Index: tests/phpunit/tests/query/taxQuery.php
===================================================================
--- tests/phpunit/tests/query/taxQuery.php	(revision 52576)
+++ tests/phpunit/tests/query/taxQuery.php	(working copy)
@@ -1024,8 +1024,7 @@
 			)
 		);
 
-		$posts = $query->get_posts();
-		$this->assertCount( 0, $posts );
+		$this->assertCount( 0, $query->posts );
 	}
 
 	/**
@@ -1059,8 +1058,7 @@
 			)
 		);
 
-		$posts = $query->get_posts();
-		$this->assertCount( 0, $posts );
+		$this->assertCount( 0, $query->posts );
 	}
 
 	public function test_tax_query_include_children() {
