diff --git a/tests/phpunit/tests/comment/query.php b/tests/phpunit/tests/comment/query.php index 9d5f171b8c..9345851b2f 100644 --- a/tests/phpunit/tests/comment/query.php +++ b/tests/phpunit/tests/comment/query.php @@ -325,7 +325,7 @@ class Tests_Comment_Query extends WP_UnitTestCase { 'fields' => 'ids', ) ); - $this->assertEquals( array( $c3, $c2 ), $found ); + $this->assertEqualSets( array( $c3, $c2 ), $found ); } /** @@ -378,7 +378,7 @@ class Tests_Comment_Query extends WP_UnitTestCase { 'fields' => 'ids', ) ); - $this->assertEquals( array( $c3, $c2 ), $found ); + $this->assertEqualSets( array( $c3, $c2 ), $found ); } /**