Fix failing unit tests after [30096]: use assertEqualSets()
.
git-svn-id: https://develop.svn.wordpress.org/trunk@30135 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
086f2b9dbd
commit
bdf61ef6a0
@ -325,7 +325,7 @@ class Tests_Comment_Query extends WP_UnitTestCase {
|
|||||||
'fields' => 'ids',
|
'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',
|
'fields' => 'ids',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$this->assertEquals( array( $c3, $c2 ), $found );
|
$this->assertEqualSets( array( $c3, $c2 ), $found );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user