Fix #499 -- Refactor paymentinfo to payment_info (#501)

* Refactor paymentinfo to payment_info, resolve #499

* Fix calling of object attribute on tuple

* Minor update to setup documentation

* Do not use short words for typochecks

* Text clarification

* Refactor paymentinfo to payment_info, resolve #499

* Include data migration for existing event settings, resolve #499
This commit is contained in:
Heok Hong Low
2017-05-22 20:06:19 +08:00
committed by Raphael Michel
parent fb716eb498
commit 48b3621f1e
8 changed files with 44 additions and 19 deletions

View File

@@ -141,7 +141,7 @@ class MailSettingPreviewTest(SoupTest):
assert res['msgs']['en'] == self.locale_event.name['en']
def test_mail_text_order_placed(self):
text = '{event}{total}{currency}{date}{paymentinfo}{url}{invoice_name}{invoice_company}'
text = '{event}{total}{currency}{date}{payment_info}{url}{invoice_name}{invoice_company}'
response = self.client.post(self.target.format(
self.orga1.slug, self.event1.slug), {
'item': 'mail_text_order_placed',