Skip to content

Commit d954aa2

Browse files
committed
fix
1 parent b6648a1 commit d954aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Units/Domain/EagerLoadingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testMultiWallets(): void
8989
$user = UserMulti::with('wallets.walletTransactions')->find($multi->getKey());
9090
self::assertTrue($user->relationLoaded('wallets'));
9191
self::assertNotEmpty($user->wallets);
92-
self::assertTrue($user->wallets[0]->relationLoaded('walletTransactions'));
92+
self::assertTrue($user->wallets[0]?->relationLoaded('walletTransactions'));
9393
self::assertNotNull($user->getWallet('hello'));
9494
self::assertNotNull($user->getWallet('world'));
9595
self::assertTrue($user->getWallet('hello')->relationLoaded('holder'));

0 commit comments

Comments
 (0)