mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
* mostly updating fetch with all the fields and adding 2 missing variables * adding throw RestException numbers, @url and a test for if you try with id=0 * Adding hurl file that do some testing og warehouses API endpoints * Class for API prevented ever seeing model_pdf in API json * Check for auth before doing other tests on the request * New function list Products in warehouse. Work done by defrance, revived by JonB * API PUT/update now allows for more database fields * hurl tests for the new list products in warehouse endpoint * also rejecting warehouse_id in a post * pre-commit fix api warehouses * copy paste error from api_usergroup * Just return the lines, no cleaning needed * PHAN fixes * trying to fix PHAN error * fix api update so it returns error when error, and fix object->update with import_key * this->db not global db * Advice from hregis * Typo this d not dB * Array of strings * Changed listProducts in warehouse, uses api_product->get with variables from that * hurl tests for API warehouses, and the new function get products in warehouse * some STAN fixes * more phan fixes * changes revealed necessary by hurl testing --------- Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>