mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed broken test using PostgreSQL as the database
This commit is contained in:
parent
44d82209a9
commit
f1a67a87de
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user