Commit c7151242 authored by Vincent Pelletier's avatar Vincent Pelletier

testERP5Credential: Drop ignored parameters.

Also, replace one more use of getResultValue in favor of explicit list
unpacking, as getResultValue does not complain in face of multiple results.
parent e18a9ac1
...@@ -1052,9 +1052,8 @@ class TestERP5Credential(ERP5TypeTestCase): ...@@ -1052,9 +1052,8 @@ class TestERP5Credential(ERP5TypeTestCase):
last_name="Test", last_name="Test",
reference="vifibtest") reference="vifibtest")
portal_catalog = self.portal.portal_catalog portal_catalog = self.portal.portal_catalog
credential_request = portal_catalog.getResultValue( credential_request, = portal_catalog(
portal_type="Credential Request", reference="vifibtest", portal_type="Credential Request", reference="vifibtest")
first_name="Vifib", last_name="Test")
mail_message = portal_catalog.getResultValue( mail_message = portal_catalog.getResultValue(
portal_type="Mail Message", portal_type="Mail Message",
default_follow_up_uid=credential_request.getUid()) default_follow_up_uid=credential_request.getUid())
......
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