From 3bfa9305807d1566e478ab7798e522def10b66d6 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Wed, 8 Oct 2014 19:21:30 +0000 Subject: [PATCH] Change assertEqual to assertEqualSets since the order that travis-ci creates posts isn't consistent see #29718 git-svn-id: https://develop.svn.wordpress.org/trunk@29857 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/post/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } /**