From 1a30f7d2fa561f148462c80f945ec965599760a8 Mon Sep 17 00:00:00 2001 From: Tonya Mork Date: Tue, 3 Oct 2023 15:42:06 +0000 Subject: [PATCH] Query: Fix a PHPCS issue in `_prime_post_parents_caches()` tests. Removes an extraneous line break in the `_prime_post_parents_caches()` tests. Follow-up to [56763]. Unprops spacedmonkey. Props mukesh27, costdev. See #59188. git-svn-id: https://develop.svn.wordpress.org/trunk@56766 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/post/primePostParentsCaches.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/phpunit/tests/post/primePostParentsCaches.php b/tests/phpunit/tests/post/primePostParentsCaches.php index b423a2f87c..a430450aab 100644 --- a/tests/phpunit/tests/post/primePostParentsCaches.php +++ b/tests/phpunit/tests/post/primePostParentsCaches.php @@ -99,7 +99,6 @@ class Tests_Post_PrimePostParentsCaches extends WP_UnitTestCase { $this->assertSame( 1, $num_queries, 'Unexpected number of queries on second run' ); $this->assertSameSets( array( self::$posts[1] ), wp_cache_get_multiple( array( $page_id ), 'post_parent' ), 'Array of parent ids with post 1 as parent' ); - } /**