From f1a67a87de7e56009daa6e5ee687ea645ce824b4 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 16 Feb 2012 12:18:36 +1300 Subject: [PATCH] MINOR Fixed broken test using PostgreSQL as the database --- tests/model/DataListTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/model/DataListTest.php b/tests/model/DataListTest.php index 0bb910308..86850b26d 100755 --- a/tests/model/DataListTest.php +++ b/tests/model/DataListTest.php @@ -447,6 +447,7 @@ class DataListTest extends SapphireTest { $this->idFromFixture('DataObjectTest_Team', 'team1'), $this->idFromFixture('DataObjectTest_Team', 'team2') ))); + $list->sort('Name'); $this->assertEquals(2, $list->count()); $this->assertEquals('Joe', $list->first()->Name, 'First comment should be from Phil'); $this->assertEquals('Phil', $list->last()->Name, 'First comment should be from Phil');