public function CurrencyRepositoryTest::fractionDigitsData in Commerce Core 8.2
Data provider for ::testGetDefaultFractionDigits.
Return value
array The test data.
File
- modules/
price/ tests/ src/ Kernel/ CurrencyRepositoryTest.php, line 113
Class
- CurrencyRepositoryTest
- Tests the currency repository.
Namespace
Drupal\Tests\commerce_price\KernelCode
public function fractionDigitsData() {
return [
[
'BHD',
3,
],
[
'UGX',
0,
],
[
'USD',
2,
],
[
'UYU',
2,
],
[
'UYW',
4,
],
];
}