Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Units/Domain/TransactionAmountFloatAccessorTest.php
Original file line number Diff line number Diff line change
@@ -33,8 +33,8 @@ public function testTransactionAmountFloatAccessor(): void

self::assertNotNull($twoDecimalTransaction);
self::assertSame(
$amountTwoDecimal,
(float) $twoDecimalTransaction->amountFloat,
(string) $amountTwoDecimal,
$twoDecimalTransaction->amountFloat,
'amount float is same decimal places'
);

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

self::assertNotNull($fourDecimalTransaction);
self::assertSame(
$amountFourDecimal,
(float) $fourDecimalTransaction->amountFloat,
(string) $amountFourDecimal,
$fourDecimalTransaction->amountFloat,
'amount float is same decimal places'
);
}

0 comments on commit ce457f2

Please sign in to comment.