DataListTest should not rely on order of values when not explictly sorting

This commit is contained in:
Simon Welsh 2013-07-05 11:45:34 +12:00
parent 573ec9d58b
commit ff45f7ce4d

View File

@ -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() {