mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Cart: ensure free price input is decimal (PRETIXEU-80N)
Co-authored-by: Phin Wolkwitz <wolkwitz@rami.io>
This commit is contained in:
committed by
GitHub
parent
5ad0f92776
commit
e9b22b7d33
@@ -3138,6 +3138,9 @@ class CheckoutTestCase(BaseCheckoutTestCase, TestCase):
|
||||
assert cp1.addons.last().item == self.workshop1
|
||||
|
||||
def test_set_addon_free_price(self):
|
||||
self.event.settings.locales = ['de']
|
||||
self.event.settings.locale = 'de'
|
||||
|
||||
with scopes_disabled():
|
||||
self.workshop1.free_price = True
|
||||
self.workshop1.save()
|
||||
|
||||
Reference in New Issue
Block a user