Coding Standards: Fix WPCS issues in [51367].

This fixes an "Expected 1 space after comma in argument list; 2 found" error.

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51368 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-07-07 10:50:43 +00:00
parent e77691036d
commit 73e24c997c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ class Tests_Post_GetPages extends WP_UnitTestCase {
)
)
);
$this->assertCount( 3, get_pages( array( 'meta_key' => 'some-meta-key' ) ) );
$this->assertCount( 3, get_pages( array( 'meta_key' => 'some-meta-key' ) ) );
}
/**
+1 -1
View File
@@ -1704,7 +1704,7 @@ class Tests_Query_MetaQuery extends WP_UnitTestCase {
$this->assertSameSets( array( $post_id, $post_id3, $post_id4, $post_id5, $post_id6 ), $posts );
$posts = get_posts( array( 'meta_value' => '0' ) );
$this->assertCount( 5, $posts );
$this->assertCount( 5, $posts );
foreach ( $posts as $post ) {
$this->assertInstanceOf( 'WP_Post', $post );
$this->assertSame( 'raw', $post->filter );
@@ -509,7 +509,7 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
$request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
$request->set_param( 'per_page', self::$per_page );
$response = rest_get_server()->dispatch( $request );
$this->assertCount( $total_posts, $response->get_data() );
$this->assertCount( $total_posts, $response->get_data() );
$request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
$request->set_param( 'search', 'Search Result' );