Skip to content

Commit

Permalink
fixed HasOneThrough relationship on laravel-11's change.
Browse files Browse the repository at this point in the history
  • Loading branch information
陆云峰 committed Oct 17, 2024
1 parent ed4e14d commit 8a09410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Features/HasInTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
expect($has)->toEqual($hasIn);
});

test('HasMany: hasIn(gte 2) same as has(gte 2)', function () {
test('hasIn(gte 2) same as has(gte 2)', function () {
$has = User::has('posts', '>=', 2)->orderBy('id')->pluck('id');
$hasIn = User::hasIn('posts', '>=', 2)->orderBy('id')->pluck('id');

Expand Down

0 comments on commit 8a09410

Please sign in to comment.