Add new API tests for order item note requirements, subuser route updates, and department lane status management

- Introduced tests for validating note requirements on order items.
- Updated subuser route management contract tests with new route coverage.
- Added endpoints to manage department lane and self-serve lane statuses, with associated tests.
This commit is contained in:
Jeppe Bundgaard
2026-05-28 16:06:14 +02:00
parent 54de2e5674
commit ae3657e7aa
13 changed files with 866 additions and 84 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ class productsRoute
'piktogram' => (string)$product['piktogram'],
'economic_product_id' => (int)$product['economic_product_id'],
'apply_category_discount' => (boolean)$product['apply_category_discount'],
'requires_note' => (boolean)$product['requires_note'],
'requires_note' => \objects\products_o::productDataRequiresOrderItemNote($product),
'created_at' => (string)$product['created_at'],
'updated_at' => (string)$product['updated_at'],
'addons' => (new product_options_o())->getProductOptions($product['id']),
@@ -432,4 +432,4 @@ class productsRoute
]
);
}
}
}