Beispiel #1
0
 /**
  * @BeforeFeature
  */
 public static function setup()
 {
     MagentoCheckoutHelper::enablePaymentMethod('checkmo');
     MagentoShippingHelper::enable('freeshipping');
 }
Beispiel #2
0
 /**
  * @return mixed
  * @throws Exception
  *
  */
 protected function _saveFixture()
 {
     $this->_getMageModel()->save();
     $order = Checkout::quoteServiceSubmitAll($this->_getMageModel());
     return $order->getId();
 }