@@ -109,7 +109,7 @@ def test_order_stock_tracking_with_disallowed_backorder_return(self):
109
109
# Now Ship the successfull order
110
110
order_status_update_url = reverse ('order-status-update' , args = [order_less_than_stock_response_with_stock_tracking .data ['order_alias' ]])
111
111
approve = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .APPROVED }, format = 'json' )
112
- processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PROCESSING }, format = 'json' )
112
+ processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PACKED }, format = 'json' )
113
113
approved = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .SHIPPED }, format = 'json' )
114
114
115
115
self .assertEqual (approve .status_code , status .HTTP_200_OK )
@@ -251,7 +251,7 @@ def test_order_back_order_allowed(self):
251
251
# Now Ship the successfull order
252
252
order_status_update_url = reverse ('order-status-update' , args = [order_out_of_stock_response_with_stock_tracking_bo .data ['order_alias' ]])
253
253
approve = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .APPROVED }, format = 'json' )
254
- processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PROCESSING }, format = 'json' )
254
+ processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PACKED }, format = 'json' )
255
255
shipped = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .SHIPPED }, format = 'json' )
256
256
257
257
self .assertEqual (approve .status_code , status .HTTP_200_OK )
@@ -385,7 +385,7 @@ def test_order_without_tracking_stock(self):
385
385
# Now Ship the successfull order
386
386
order_status_update_url = reverse ('order-status-update' , args = [order_response .data ['order_alias' ]])
387
387
approve = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .APPROVED }, format = 'json' )
388
- processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PROCESSING }, format = 'json' )
388
+ processing = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .PACKED }, format = 'json' )
389
389
shipped = self .auth_client .patch (order_status_update_url , {"status" : OrderStatus .SHIPPED }, format = 'json' )
390
390
391
391
self .assertEqual (approve .status_code , status .HTTP_200_OK )
0 commit comments