Commit 495165d2 authored by Roque's avatar Roque

erp5_web_project_ui_test: use new property name

parent 12d074a1
......@@ -14,7 +14,7 @@ project.validate()
if home_page:
system_preference = portal.portal_preferences.getActiveSystemPreference()
system_preference.setPreferredPublicationSection("project_home_page_for_test")
system_preference.setPreferredProjectHomePagePublicationSectionCategory("project_home_page_for_test")
publication_section = context.restrictedTraverse('portal_categories/publication_section/project_home_page_for_test')
module = portal.getDefaultModule('Web Page')
home_page = module.newContent(id = test_id,
......
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