File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
app/code/Magento/Shipping
Controller/Adminhtml/Order/Shipment
Test/Unit/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ public function execute()
57
57
$ this ->_objectManager ->create (\Magento \Shipping \Model \ShipmentNotifier::class)
58
58
->notify ($ shipment );
59
59
$ shipment ->save ();
60
- $ this ->messageManager ->addSuccess (__ ('You sent the shipment. ' ));
60
+ $ this ->messageManager ->addSuccess (
61
+ __ ('An email confirming the order is underway has been sent to the customer. ' )
62
+ );
61
63
}
62
64
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
63
65
$ this ->messageManager ->addError ($ e ->getMessage ());
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public function testEmail()
207
207
->will ($ this ->returnValue (true ));
208
208
$ this ->messageManager ->expects ($ this ->once ())
209
209
->method ('addSuccess ' )
210
- ->with ('You sent the shipment . ' );
210
+ ->with ('An email confirming the order is underway has been sent to the customer . ' );
211
211
$ path = '*/*/view ' ;
212
212
$ arguments = ['shipment_id ' => $ shipmentId ];
213
213
$ this ->prepareRedirect ($ path , $ arguments , 0 );
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Shipments,Shipments
28
28
"Cannot add tracking number.","Cannot add tracking number."
29
29
"You created the shipping label.","You created the shipping label."
30
30
"An error occurred while creating shipping label.","An error occurred while creating shipping label."
31
- "You sent the shipment .","You sent the shipment ."
31
+ "An email confirming the order is underway has been sent to the customer .","An email confirming the order is underway has been sent to the customer ."
32
32
"Cannot send shipment information.","Cannot send shipment information."
33
33
"There are no shipping labels related to selected orders.","There are no shipping labels related to selected orders."
34
34
"New Shipment","New Shipment"
You can’t perform that action at this time.
0 commit comments