test: Fixed CakeNumberTest::testCurrencyFractionSymbol()

Change in behavior of == comparison operators in PHP 8.0 has revealed a bug in the test code.
 see: https://www.php.net/manual/en/migration80.incompatible.php#migration80.incompatible.core.string-number-comparision

 Co-authored-by: Kenshin Okinaka <okinakak@yahoo.co.jp>
This commit is contained in:
Koji Tanaka 2023-01-08 20:16:30 +09:00 committed by Kamil Wylegala
parent c82693b920
commit fd5f39df07

View file

@ -343,7 +343,7 @@ class CakeNumberTest extends CakeTestCase {
'places' => 2,
'decimal' => '.'
));
$this->assertEquals('0.2', $result);
$this->assertEquals('0.20', $result);
}
/**