diff --git a/src/tests/plugins/badges/test_control.py b/src/tests/plugins/badges/test_control.py index 796de82a09..f817d0a9c4 100644 --- a/src/tests/plugins/badges/test_control.py +++ b/src/tests/plugins/badges/test_control.py @@ -99,11 +99,13 @@ class BadgeLayoutFormTest(SoupTest): BadgeItem.objects.create(item=self.item1, layout=bl2) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'foundation', + 'event_wizard-prefix': 'event_wizard', 'foundation-organizer': self.orga1.pk, 'foundation-locales': ('en',) }) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'basics', + 'event_wizard-prefix': 'event_wizard', 'basics-name_0': '33C3', 'basics-slug': '33c3', 'basics-date_from_0': '2016-12-27', @@ -118,6 +120,7 @@ class BadgeLayoutFormTest(SoupTest): }) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'copy', + 'event_wizard-prefix': 'event_wizard', 'copy-copy_from_event': self.event1.pk }) diff --git a/src/tests/plugins/ticketoutputpdf/test_control.py b/src/tests/plugins/ticketoutputpdf/test_control.py index ce908969be..e50e7dd92b 100644 --- a/src/tests/plugins/ticketoutputpdf/test_control.py +++ b/src/tests/plugins/ticketoutputpdf/test_control.py @@ -99,11 +99,13 @@ class TicketLayoutFormTest(SoupTest): TicketLayoutItem.objects.create(item=self.item1, layout=bl2) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'foundation', + 'event_wizard-prefix': 'event_wizard', 'foundation-organizer': self.orga1.pk, 'foundation-locales': ('en',) }) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'basics', + 'event_wizard-prefix': 'event_wizard', 'basics-name_0': '33C3', 'basics-slug': '33c3', 'basics-date_from_0': '2016-12-27', @@ -118,6 +120,7 @@ class TicketLayoutFormTest(SoupTest): }) self.post_doc('/control/events/add', { 'event_wizard-current_step': 'copy', + 'event_wizard-prefix': 'event_wizard', 'copy-copy_from_event': self.event1.pk })