File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -578,7 +578,6 @@ describe('OrdersService', () => {
578578 it ( 'should update order with delivery details and set status to delivered but request remains active' , async ( ) => {
579579 const orderRepo = testDataSource . getRepository ( Order ) ;
580580 const requestRepo = testDataSource . getRepository ( FoodRequest ) ;
581-
582581 // Get an existing shipped order
583582 const existingShippedOrder = await orderRepo . findOne ( {
584583 where : { status : OrderStatus . SHIPPED } ,
@@ -594,6 +593,7 @@ describe('OrdersService', () => {
594593 const secondOrder = orderRepo . create ( {
595594 requestId : existingShippedOrder . requestId ,
596595 foodManufacturerId : existingShippedOrder . foodManufacturerId ,
596+ assigneeId : existingShippedOrder . assigneeId ,
597597 status : OrderStatus . SHIPPED ,
598598 shippedAt : new Date ( ) ,
599599 } ) ;
You can’t perform that action at this time.
0 commit comments