Skip to content

Commit f3b61c3

Browse files
committed
fix more tests
1 parent 501007f commit f3b61c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/orders/order.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)