MINOR: Explicitly sort objects in DataListTest to prevent test failures across different DB's.

This commit is contained in:
ajshort 2011-05-03 21:59:51 +10:00
parent 43c39bed8f
commit 577be1e6fc

View File

@ -18,7 +18,7 @@ class DataListTest extends SapphireTest {
function testListCreationSortAndLimit() {
// By default, a DataList will contain all items of that class
$list = DataList::create('DataObjectTest_TeamComment');
$list = DataList::create('DataObjectTest_TeamComment')->sort('ID');
// We can iterate on the DataList
$names = array();