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 abffeea commit ce457f2Copy full SHA for ce457f2
tests/Units/Domain/TransactionAmountFloatAccessorTest.php
@@ -33,8 +33,8 @@ public function testTransactionAmountFloatAccessor(): void
33
34
self::assertNotNull($twoDecimalTransaction);
35
self::assertSame(
36
- $amountTwoDecimal,
37
- (float) $twoDecimalTransaction->amountFloat,
+ (string) $amountTwoDecimal,
+ $twoDecimalTransaction->amountFloat,
38
'amount float is same decimal places'
39
);
40
@@ -50,8 +50,8 @@ public function testTransactionAmountFloatAccessor(): void
50
51
self::assertNotNull($fourDecimalTransaction);
52
53
- $amountFourDecimal,
54
- (float) $fourDecimalTransaction->amountFloat,
+ (string) $amountFourDecimal,
+ $fourDecimalTransaction->amountFloat,
55
56
57
}
0 commit comments