Commit 44bd65b5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Update Scenario Test

  Get the person created by searching the ERP5 Login, because person has not reference defined.
parent ab9f21e6
......@@ -1065,8 +1065,8 @@ class TestSlapOSDefaultCRMEscalation(TestSlapOSSecurityMixin):
def trickCrmEvent(self, service_id, day, person_reference):
self.login()
person = self.portal.portal_catalog.getResultValue(portal_type='Person',
reference=person_reference)
person = self.portal.portal_catalog.getResultValue(portal_type='ERP5 Login',
reference=person_reference).getParentValue()
ticket = self.portal.portal_catalog.getResultValue(
portal_type='Regularisation Request',
simulation_state='suspended',
......
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