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:
@@ -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
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user