mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DataListTest should not rely on order of values when not explictly sorting
This commit is contained in:
parent
573ec9d58b
commit
ff45f7ce4d
@ -625,7 +625,8 @@ class DataListTest extends SapphireTest {
|
||||
));
|
||||
|
||||
$this->assertEquals(2, $list->count());
|
||||
$this->assertEquals(array('Joe', 'Bob'), $list->column('Name'));
|
||||
$values = $list->column('Name');
|
||||
$this->assertEquals(array_intersect($values, array('Joe', 'Bob')), $values);
|
||||
}
|
||||
|
||||
public function testFilterAndExcludeById() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user