public function CurrencyTest::testInitialCurrency in Commerce Core 8.2
Tests the initial currency creation.
File
- modules/
price/ tests/ src/ Functional/ CurrencyTest.php, line 19
Class
- CurrencyTest
- Tests the currency UI.
Namespace
Drupal\Tests\commerce_price\FunctionalCode
public function testInitialCurrency() {
// We are expecting commerce_price_install() to import 'USD'.
$currency = Currency::load('USD');
$this
->assertNotEmpty($currency);
}