Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixing broken test for PostgreSQL

  • Loading branch information...
commit e1ebb4a8eb941590fd4ebf42fffa22bf3b2d5987 1 parent 0a2e877
@halkyon halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/model/ManyManyListTest.php
View
2  tests/model/ManyManyListTest.php
@@ -106,7 +106,7 @@ public function testSubtractOnAManyManyList() {
// Player 2 belongs to both teams: team1, team2
$player2 = $this->objFromFixture('DataObjectTest_Player', 'player2');
- $this->assertEquals(array($teamOneID,$teamTwoID), $player2->Teams()->column("ID"), 'Precondition; player2 belongs to team1 and team2');
+ $this->assertEquals(array($teamOneID,$teamTwoID), $player2->Teams()->sort('Title')->column('ID'), 'Precondition; player2 belongs to team1 and team2');
// We want to find the teams for player2 where the captain does not belong to
$teamsWithoutTheCaptain = $player2->Teams()->subtract($captain1->Teams());
Please sign in to comment.
Something went wrong with that request. Please try again.