예제 #1
0
 /**
  * Fill currency rate form.
  *
  * @param FixtureInterface $fixture
  * @param SimpleElement|null $element
  * @return $this
  */
 public function fill(FixtureInterface $fixture, SimpleElement $element = null)
 {
     /** @var \Magento\Directory\Test\Fixture\CurrencyRate $fixture */
     $this->placeholders['currency_from'] = $fixture->getCurrencyFrom();
     $this->placeholders['currency_to'] = $fixture->getCurrencyTo();
     $this->applyPlaceholders();
     return parent::fill($fixture, $element);
 }