From f0aa3f8cd9d132281466efe1bb116df42df11a53 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 7 Feb 2020 09:51:10 -0300 Subject: [PATCH] Bug 24611: Fix wrong budget_id query param in /acquisitions/orders This patch fixes the wrong query parameter that slipped on rewriting the patches for the voted RFC. To test: 1. Apply the tests patch 2. Run: $ kshell k$ prove t/db_dependent/api/v1/acquisitions_orders.t => FAIL: Tests fail because fund_id is not a valid query parameter 3. Apply this patch 4. Repeat (2) => SUCCESS: Tests pass! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi Signed-off-by: David Nind Signed-off-by: Jonathan Druart --- api/v1/swagger/paths/acquisitions_orders.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/swagger/paths/acquisitions_orders.json b/api/v1/swagger/paths/acquisitions_orders.json index fc614dd49b..a0232d84b3 100644 --- a/api/v1/swagger/paths/acquisitions_orders.json +++ b/api/v1/swagger/paths/acquisitions_orders.json @@ -26,9 +26,9 @@ "type": "integer" }, { - "name": "budget_id", + "name": "fund_id", "in": "query", - "description": "Identifier for the budget the order goes against", + "description": "Identifier for the fund the order goes against", "required": false, "type": "integer" }, -- 2.11.0