Skip to content

Commit 72a4a83

Browse files
committed
add $balanceFloatNum
1 parent 83eb274 commit 72a4a83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Units/Domain/WalletFloatTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function testDeposit(): void
4747
$user->withdraw($user->balance);
4848
self::assertSame(0, $user->balanceInt);
4949
self::assertSame(0., (float) $user->balanceFloat);
50+
self::assertSame(0., $user->getBalanceFloatNumAttribute());
5051
}
5152

5253
public function testInvalidDeposit(): void

0 commit comments

Comments
 (0)