We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa8b9fc commit 29ced7aCopy full SHA for 29ced7a
tests/Units/Domain/EagerLoadingTest.php
@@ -15,10 +15,12 @@ class EagerLoadingTest extends TestCase
15
{
16
public function testUuidDuplicate(): void
17
18
- BuyerFactory::times(10)->create();
+ $buyerTimes = BuyerFactory::times(10)->create();
19
20
/** @var Buyer[] $buyers */
21
- $buyers = Buyer::with('wallet')->paginate(10);
+ $buyers = Buyer::with('wallet')
22
+ ->whereIn('id', $buyerTimes->pluck('id')->toArray())
23
+ ->paginate(10);
24
25
$uuids = [];
26
$balances = [];
0 commit comments