From c0f76faef8e2827ee42ba84759a12156288f8471 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Fri, 18 Dec 2020 00:26:21 +0000 Subject: [PATCH] Coding Standards: Minor fixes following [49830]. Fixes the fixes missed in [49832]. They are fixed now. See #13509, #48968, #48556. git-svn-id: https://develop.svn.wordpress.org/trunk@49833 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/query/postStatus.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/phpunit/tests/query/postStatus.php b/tests/phpunit/tests/query/postStatus.php index 244bfdc9e884..67ae96d7cfd0 100644 --- a/tests/phpunit/tests/query/postStatus.php +++ b/tests/phpunit/tests/query/postStatus.php @@ -469,9 +469,9 @@ public function test_non_singular_queries_using_post_type_any_should_respect_pos 'wptests_pt1', array( 'exclude_from_search' => false, - 'capabilities' => [ + 'capabilities' => array( 'read_private_posts' => 'read_private_pt1s', - ], + ), ) ); @@ -549,9 +549,9 @@ public function test_non_singular_queries_using_multiple_post_type_should_respec 'wptests_pt1', array( 'exclude_from_search' => false, - 'capabilities' => [ + 'capabilities' => array( 'read_private_posts' => 'read_private_pt1s', - ], + ), ) ); @@ -611,7 +611,7 @@ public function test_non_singular_queries_using_multiple_post_type_should_respec $q = new WP_Query( array( - 'post_type' => [ 'wptests_pt1', 'wptests_pt2' ], + 'post_type' => array( 'wptests_pt1', 'wptests_pt2' ), ) );