Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
ci(api-contract): run account closure last — it deletes the customer (#605)
Ron161f8e95386f
diff --git a/scripts/ci/order-collection-requests.py b/scripts/ci/order-collection-requests.pyindex 96e49565..be901635 100755--- a/scripts/ci/order-collection-requests.py+++ b/scripts/ci/order-collection-requests.py@@ -104,6 +104,15 @@ DELETE_FIRST = {}RUN_LAST = {+ # Account closure DELETES the customer's user account. It is a POST, so the DELETE+ # heuristic does not catch it, and once it succeeded every later authenticated request+ # failed with "Not authorized" — the customer was gone. It only started succeeding once+ # its verification code was seeded correctly, which is how a fixture fix turned into a+ # 7-request regression.+ 'Fleetbase Storefront API': [+ 'Customer/Start Account Closure',+ 'Customer/Confirm Account Closure',+ ],'Fleetbase API': ['Customers/Request Customer Login SMS', # needs User.phone restored by Update Me'Customers/Logout Customer', # revokes the current token