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"))