public function OrderReceiptTest::providerOrderReceiptMultilingualData in Commerce Core 8.2
Provides data for the multilingual email receipt test.
Return value
array The data.
File
- modules/
order/ tests/ src/ Kernel/ OrderReceiptTest.php, line 256
Class
- OrderReceiptTest
- Tests the sending of multilingual order receipt emails.
Namespace
Drupal\Tests\commerce_order\KernelCode
public function providerOrderReceiptMultilingualData() {
return [
[
NULL,
'en',
'$12.00',
],
[
Language::LANGCODE_DEFAULT,
'en',
'$12.00',
],
[
'es',
'es',
'US$12.00',
],
[
'fr',
'fr',
'U$D12.00',
],
[
'en',
'en',
'$12.00',
],
];
}