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