File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Intl \Tests ;
13
13
14
+ use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
14
15
use Symfony \Component \Intl \Currencies ;
15
16
16
17
/**
17
18
* @group intl-data
18
19
*/
19
20
class CurrenciesTest extends ResourceBundleTestCase
20
21
{
22
+ use ForwardCompatTestTrait;
23
+
21
24
// The below arrays document the state of the ICU data bundled with this package.
22
25
23
26
private static $ currencies = [
@@ -693,7 +696,7 @@ public function testGetFractionDigits($currency)
693
696
*/
694
697
public function testGetRoundingIncrement ($ currency )
695
698
{
696
- $ this ->assertInternalType ( ' numeric ' , Currencies::getRoundingIncrement ($ currency ));
699
+ $ this ->assertIsNumeric ( Currencies::getRoundingIncrement ($ currency ));
697
700
}
698
701
699
702
public function provideCurrenciesWithNumericEquivalent ()
You can’t perform that action at this time.
0 commit comments