Commit 3d4c0eb6 authored by Aurel's avatar Aurel

email is now mandatory

parent 109038aa
......@@ -109,6 +109,8 @@ return {\'now\': DateTime(),\n
\'campaign_howto_campaign_reference\': \'ZUITE-TEST-CAMPAIGN-CAMPAIGN-001\',\n
\'create_event_howto_person_title\': \'ZUITE-TEST-CREATE-EVENT-PERSON-SUPERVISOR\',\n
\'create_event_howto_person2_title\': \'ZUITE-TEST-CREATE-EVENT-PERSON-OPERATION-MANAGER\',\n
\'create_event_howto_person_email\': \'me@erp5.org\',\n
\'create_event_howto_person2_email\': \'me@erp5.org\',\n
\'create_event_howto_organisation_title\': \'ZUITE-TEST-CREATE-EVENT-ORGANISATION-001\',\n
\'create_event_howto_currency_title\': \'Euro\',\n
\'create_event_howto_currency_tag\': \'EUR\',\n
......
......@@ -52,7 +52,6 @@
<key> <string>_body</string> </key>
<value> <string>if clean:\n
context.Zuite_tearDownCreateEventTest()\n
\n
portal = context.getPortalObject()\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
howto_dict = context.Zuite_getHowToInfo()\n
......@@ -77,11 +76,13 @@ organisation.validate()\n
\n
person = portal.person_module.newContent(portal_type=\'Person\',\n
title=howto_dict[\'create_event_howto_person_title\'],\n
default_email_text=howto_dict[\'create_event_howto_person_email\'],\n
career_subordination_title=howto_dict[\'create_event_howto_organisation_title\'])\n
person.validate()\n
\n
person2 = portal.person_module.newContent(portal_type=\'Person\',\n
title=howto_dict[\'create_event_howto_person2_title\'],\n
default_email_text=howto_dict[\'create_event_howto_person2_email\'],\n
career_subordination_title=howto_dict[\'create_event_howto_organisation_title\'])\n
person2.validate()\n
\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment