public function ExchangerRemoteProviderTest::testImport in Commerce Exchanger 8
@covers ::__construct
File
- tests/
src/ Kernel/ ExchangerRemoteProviderTest.php, line 17
Class
- ExchangerRemoteProviderTest
- @coversDefaultClass \Drupal\commerce_exchanger\ExchangerProviderRates @group commerce_exchanger
Namespace
Drupal\Tests\commerce_exchanger\KernelCode
public function testImport() {
$this
->expectException(\InvalidArgumentException::class);
$definition = [
'base' => 'HRK',
'rates' => [
'EUR' => 'abs',
],
'transform' => FALSE,
];
new ExchangerProviderRates($definition);
}