Merge pull request #5 from mvkashyap/test_case_fixes

Test case fixes
This commit is contained in:
Ging (Yichuan) Luo 2022-12-15 14:57:39 -05:00 committed by GitHub
commit a3be81177b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -393,7 +393,8 @@ class APITestCase(IhatemoneyTestCase):
"converted_amount": 25.0, "converted_amount": 25.0,
"original_currency": "XXX", "original_currency": "XXX",
"external_link": "https://raclette.fr", "external_link": "https://raclette.fr",
} "is_reimbursement": "false",
}
got = json.loads(req.data.decode("utf-8")) got = json.loads(req.data.decode("utf-8"))
self.assertEqual( self.assertEqual(
@ -464,6 +465,7 @@ class APITestCase(IhatemoneyTestCase):
"converted_amount": 25.0, "converted_amount": 25.0,
"original_currency": "XXX", "original_currency": "XXX",
"id": 1, "id": 1,
"is_reimbursement": false,
} }
got = json.loads(req.data.decode("utf-8")) got = json.loads(req.data.decode("utf-8"))