Skip to content

Commit 9ca473b

Browse files
committed
Merge branch '3.2'
* 3.2: [Console] Do not duplicate Helper::strlen() code [FrameworkBundle] Adding the extension XML [Form] Minor: Fix comment in ChoiceType [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice fixed CS fixed CS [DI] Fix PhpDumper blank lines around namespace fixed CS [Workflow] fix use directives [Workflow] Move twig extension registration to twig bundle Filesystem: annotate the one network test with a "network" group. [DependencyInjection] Don't store default deprecation template in every service definition instance
2 parents 9a99f18 + 6b9fe9a commit 9ca473b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Data/Provider/AbstractCurrencyDataProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,15 +676,15 @@ function ($currency) { return array($currency); },
676676
*/
677677
public function testGetFractionDigits($currency)
678678
{
679-
$this->assertTrue(is_numeric($this->dataProvider->getFractionDigits($currency)));
679+
$this->assertInternalType('numeric', $this->dataProvider->getFractionDigits($currency));
680680
}
681681

682682
/**
683683
* @dataProvider provideCurrencies
684684
*/
685685
public function testGetRoundingIncrement($currency)
686686
{
687-
$this->assertTrue(is_numeric($this->dataProvider->getRoundingIncrement($currency)));
687+
$this->assertInternalType('numeric', $this->dataProvider->getRoundingIncrement($currency));
688688
}
689689

690690
public function provideCurrenciesWithNumericEquivalent()

0 commit comments

Comments
 (0)