Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixed broken test in PostgreSQL where assumption of IDs sorted …

…isn't always the case
  • Loading branch information...
commit 2f4b6303403c26154c5015b2b48df6c98dd9ccda 1 parent 8f96ea7
@halkyon halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/model/DataObjectTest.php
View
2  tests/model/DataObjectTest.php 100644 → 100755
@@ -253,7 +253,7 @@ function testHasManyRelationships() {
$comment2 = $this->fixture->objFromFixture('DataObjectTest_TeamComment', 'comment2');
$team->Comments()->remove($comment2);
- $commentIDs = $team->Comments()->column('ID');
+ $commentIDs = $team->Comments()->sort('ID')->column('ID');
$this->assertEquals(array($comment1->ID, $newComment->ID), $commentIDs);
}
Please sign in to comment.
Something went wrong with that request. Please try again.