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
This commit is contained in:
parent
e9be4237ba
commit
3bfa930580
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user