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