Skip to content

Commit ce457f2

Browse files
committed
unit fix #533
1 parent abffeea commit ce457f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Units/Domain/TransactionAmountFloatAccessorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function testTransactionAmountFloatAccessor(): void
3333

3434
self::assertNotNull($twoDecimalTransaction);
3535
self::assertSame(
36-
$amountTwoDecimal,
37-
(float) $twoDecimalTransaction->amountFloat,
36+
(string) $amountTwoDecimal,
37+
$twoDecimalTransaction->amountFloat,
3838
'amount float is same decimal places'
3939
);
4040

@@ -50,8 +50,8 @@ public function testTransactionAmountFloatAccessor(): void
5050

5151
self::assertNotNull($fourDecimalTransaction);
5252
self::assertSame(
53-
$amountFourDecimal,
54-
(float) $fourDecimalTransaction->amountFloat,
53+
(string) $amountFourDecimal,
54+
$fourDecimalTransaction->amountFloat,
5555
'amount float is same decimal places'
5656
);
5757
}

0 commit comments

Comments
 (0)