Commit 2badac85 authored by Yusei Tahara's avatar Yusei Tahara

Specify portal type explicitly.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20856 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 657792f6
......@@ -441,7 +441,7 @@ class TestNotificationTool(ERP5TypeTestCase):
"""
Check that notification is send when recipient is a Person
"""
person = self.portal.portal_catalog(reference='userA')[0]
person = self.portal.portal_catalog(reference='userA', portal_type='Person')[0]
self.portal.portal_notifications.sendMessage(
recipient=person.getObject(), subject='Subject', message='Message')
last_message = self.portal.MailHost._last_message
......
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