mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fix missing payment provider "banktransfer" on export (#5405)
This commit is contained in:
committed by
GitHub
parent
d8156186d8
commit
d23735b1a6
@@ -107,11 +107,16 @@ def get_all_payment_providers():
|
||||
return Event
|
||||
|
||||
with rolledback_transaction():
|
||||
plugins = ",".join([app.name for app in apps.get_app_configs()])
|
||||
organizer = Organizer.objects.create(
|
||||
name="INTERNAL",
|
||||
plugins=plugins,
|
||||
)
|
||||
event = Event.objects.create(
|
||||
plugins=",".join([app.name for app in apps.get_app_configs()]),
|
||||
plugins=plugins,
|
||||
name="INTERNAL",
|
||||
date_from=now(),
|
||||
organizer=Organizer.objects.create(name="INTERNAL")
|
||||
organizer=organizer,
|
||||
)
|
||||
event = FakeEvent(event)
|
||||
provs = register_payment_providers.send(
|
||||
|
||||
Reference in New Issue
Block a user