protected function _setShippingMethod() { $this->_validateShippingMethodData(); $shippingData = $this->_data['fixture']['shipping_method']; $shippingMethod = new ShippingMethod($this->_getMageModel(), $shippingData); $shippingMethod->addShippingDataToQuote(); }
/** * @BeforeFeature */ public static function setup() { MagentoCheckoutHelper::enablePaymentMethod('checkmo'); MagentoShippingHelper::enable('freeshipping'); }