mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-25 16:27:20 +00:00
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:
parent
c82693b920
commit
fd5f39df07
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class CakeNumberTest extends CakeTestCase {
|
||||||
'places' => 2,
|
'places' => 2,
|
||||||
'decimal' => '.'
|
'decimal' => '.'
|
||||||
));
|
));
|
||||||
$this->assertEquals('0.2', $result);
|
$this->assertEquals('0.20', $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue