mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixing broken test for PostgreSQL
This commit is contained in:
parent
0a2e877625
commit
e1ebb4a8eb
@ -106,7 +106,7 @@ class ManyManyListTest extends SapphireTest {
|
||||
|
||||
// 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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user