Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Sep 14, 2023
1 parent fcc4848 commit e0e3756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/Database/EloquentHasOneOfManyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function testItGetsCorrectResultUsingAtLeastTwoAggregatesDistinctFromId()
$this->assertSame($user->oldest_updated_state->id, $oldestState->id);
$this->assertSame($user->oldest_updated_oldest_created_state->id, $oldestState->id);

$users = User::with('latest_updated_state', 'latest_updated_latest_created_state')->all();
$users = User::with('latest_updated_state', 'latest_updated_latest_created_state')->get();

$this->assertSame($users[0]->latest_updated_state->id, $latestState->id);
$this->assertSame($users[0]->latest_updated_latest_created_state->id, $latestState->id);
Expand Down

0 comments on commit e0e3756

Please sign in to comment.