mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
fix tests by adding default_currency
This commit is contained in:
parent
c6ace4f710
commit
48cbc2b681
1 changed files with 3 additions and 0 deletions
|
@ -2301,6 +2301,7 @@ class HistoryTestCase(IhatemoneyTestCase):
|
||||||
"name": "demo",
|
"name": "demo",
|
||||||
"contact_email": "demo@notmyidea.org",
|
"contact_email": "demo@notmyidea.org",
|
||||||
"password": "demo",
|
"password": "demo",
|
||||||
|
"default_currency": "USD",
|
||||||
}
|
}
|
||||||
|
|
||||||
if logging_preference != LoggingMode.DISABLED:
|
if logging_preference != LoggingMode.DISABLED:
|
||||||
|
@ -2355,6 +2356,7 @@ class HistoryTestCase(IhatemoneyTestCase):
|
||||||
"contact_email": "demo2@notmyidea.org",
|
"contact_email": "demo2@notmyidea.org",
|
||||||
"password": "123456",
|
"password": "123456",
|
||||||
"project_history": "y",
|
"project_history": "y",
|
||||||
|
"default_currency": "USD",
|
||||||
}
|
}
|
||||||
|
|
||||||
resp = self.client.post("/demo/edit", data=new_data, follow_redirects=True)
|
resp = self.client.post("/demo/edit", data=new_data, follow_redirects=True)
|
||||||
|
@ -2450,6 +2452,7 @@ class HistoryTestCase(IhatemoneyTestCase):
|
||||||
"name": "demo2",
|
"name": "demo2",
|
||||||
"contact_email": "demo2@notmyidea.org",
|
"contact_email": "demo2@notmyidea.org",
|
||||||
"password": "123456",
|
"password": "123456",
|
||||||
|
"default_currency": "USD",
|
||||||
}
|
}
|
||||||
|
|
||||||
# Keep privacy settings where they were
|
# Keep privacy settings where they were
|
||||||
|
|
Loading…
Reference in a new issue