Permalink
Browse files

MINOR Fixed broken SS_MapTest in PostgreSQL. Need to sort the IDs bef…

…ore asserting the DataList contents.
  • Loading branch information...
1 parent e5b88c6 commit 016c70a6e9ebfcd13fc6cfd8c36a109f687daf25 @halkyon halkyon committed Oct 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/model/MapTest.php
View
2 tests/model/MapTest.php 100644 → 100755
@@ -24,7 +24,7 @@ function testArrayAccess() {
}
function testIteration() {
- $list = DataList::create("DataObjectTest_TeamComment");
+ $list = DataList::create("DataObjectTest_TeamComment")->sort('ID');
$map = new SS_Map($list, 'Name', 'Comment');
$text = "";
foreach($map as $k => $v) {

0 comments on commit 016c70a

Please sign in to comment.