public function testGetDefaultCurrency() { /* currency operations require store to be loaded */ $this->model->load('default'); $this->assertEquals($this->model->getDefaultCurrencyCode(), $this->model->getDefaultCurrency()->getCode()); }
/** * {@inheritdoc} */ public function getDefaultCurrency() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDefaultCurrency'); if (!$pluginInfo) { return parent::getDefaultCurrency(); } else { return $this->___callPlugins('getDefaultCurrency', func_get_args(), $pluginInfo); } }