diff --git a/tests/phpunit/tests/post/query.php b/tests/phpunit/tests/post/query.php index fb1d977810..0539edc7cb 100644 --- a/tests/phpunit/tests/post/query.php +++ b/tests/phpunit/tests/post/query.php @@ -1200,7 +1200,7 @@ class Tests_Post_Query extends WP_UnitTestCase { ), ) ); - $this->assertEquals( array( $p1, $p2 ), $q->posts ); + $this->assertEqualSets( array( $p1, $p2 ), $q->posts ); } /**