/** * When dispatching multiship order submit failure events, ensure that the * expected events are dispatched. */ public function testDispatchOrderSubmitFailure() { $this->_dispatcher->dispatchOrderSubmitFailure($this->_quote, $this->_order); $this->assertEventDispatchedExactly('checkout_multishipping_refund_all', 1); }
/** * When dispatching onepage order submit failure events, ensure that the * expected events are dispatched. */ public function testDispatchOrderSubmitFailure() { $this->_dispatcher->dispatchOrderSubmitFailure($this->_quote, $this->_order); $this->assertEventDispatchedExactly('sales_model_service_quote_submit_failure', 1); }