From 916acd46d806b23608f1bc5db8809728ffb5514a Mon Sep 17 00:00:00 2001 From: Mehal Kashyap Date: Thu, 15 Dec 2022 14:11:27 -0500 Subject: [PATCH] test case fix --- ihatemoney/tests/api_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ihatemoney/tests/api_test.py b/ihatemoney/tests/api_test.py index 69c6ab85..3143ff9a 100644 --- a/ihatemoney/tests/api_test.py +++ b/ihatemoney/tests/api_test.py @@ -393,7 +393,8 @@ class APITestCase(IhatemoneyTestCase): "converted_amount": 25.0, "original_currency": "XXX", "external_link": "https://raclette.fr", - } + "is_reimbursement": "false", + } got = json.loads(req.data.decode("utf-8")) self.assertEqual( @@ -464,6 +465,7 @@ class APITestCase(IhatemoneyTestCase): "converted_amount": 25.0, "original_currency": "XXX", "id": 1, + "is_reimbursement": false, } got = json.loads(req.data.decode("utf-8"))