From bb389cda941be933ced414f5d9406c170e228f01 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 12 Jul 2021 10:52:48 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issue in [51404]. This fixes an "Expected 1 spaces before closing parenthesis; 0 found" error. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51405 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-posts-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rest-api/rest-posts-controller.php b/tests/phpunit/tests/rest-api/rest-posts-controller.php index a2d8ae7fdf..bb4960c258 100644 --- a/tests/phpunit/tests/rest-api/rest-posts-controller.php +++ b/tests/phpunit/tests/rest-api/rest-posts-controller.php @@ -1484,7 +1484,7 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te $ids = wp_list_pluck( $posts, 'id' ); $this->assertContains( $id1, $ids ); $this->assertNotContains( $id2, $ids ); - $this->assertNotContains( $id3, $ids); + $this->assertNotContains( $id3, $ids ); $this->assertPostsWhere( " AND {posts}.ID NOT IN ($id3,$id2) AND {posts}.post_type = 'post' AND (({posts}.post_status = 'publish'))" ); }