public function CommerceExchangerCalculatorTest::testExchangeRatesEmpty in Commerce Exchanger 8
@covers ::getExchangeRates
File
- tests/
src/ Kernel/ CommerceExchangerCalculatorTest.php, line 132
Class
- CommerceExchangerCalculatorTest
- Tests the exchanger calculator.
Namespace
Drupal\Tests\commerce_exchanger\KernelCode
public function testExchangeRatesEmpty() {
$this->exchanger
->setStatus(FALSE);
$this->exchanger
->save();
$this
->assertEmpty($this->container
->get('commerce_exchanger.calculate')
->getExchangeRates());
}