From 48cbc2b681c06af3234333b75bd69c12ffd38d87 Mon Sep 17 00:00:00 2001 From: Adrien CLERC Date: Wed, 29 Apr 2020 22:28:19 +0200 Subject: [PATCH] fix tests by adding default_currency --- ihatemoney/tests/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py index 32121723..b7f4d12b 100644 --- a/ihatemoney/tests/tests.py +++ b/ihatemoney/tests/tests.py @@ -2301,6 +2301,7 @@ class HistoryTestCase(IhatemoneyTestCase): "name": "demo", "contact_email": "demo@notmyidea.org", "password": "demo", + "default_currency": "USD", } if logging_preference != LoggingMode.DISABLED: @@ -2355,6 +2356,7 @@ class HistoryTestCase(IhatemoneyTestCase): "contact_email": "demo2@notmyidea.org", "password": "123456", "project_history": "y", + "default_currency": "USD", } resp = self.client.post("/demo/edit", data=new_data, follow_redirects=True) @@ -2450,6 +2452,7 @@ class HistoryTestCase(IhatemoneyTestCase): "name": "demo2", "contact_email": "demo2@notmyidea.org", "password": "123456", + "default_currency": "USD", } # Keep privacy settings where they were