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