Commit a20bcc1f authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_certificate_authority: Change default reference to be specific

  Use specific reference reduces the confusion on what default means, since we
  can have multiple connectors for multiple purposes one day.
parent aac1a0d6
...@@ -55,7 +55,7 @@ class CertificateLoginMixin: ...@@ -55,7 +55,7 @@ class CertificateLoginMixin:
portal = self.getPortalObject() portal = self.getPortalObject()
connector_list = portal.portal_catalog.unrestrictedSearchResults( connector_list = portal.portal_catalog.unrestrictedSearchResults(
portal_type="Caucase Connector", portal_type="Caucase Connector",
reference="default", reference="erp5-certificate-login",
validation_state="validated" validation_state="validated"
) )
if len(connector_list) == 0: if len(connector_list) == 0:
......
...@@ -150,7 +150,7 @@ class ERP5TypeCaucaseTestCase(ERP5TypeTestCase): ...@@ -150,7 +150,7 @@ class ERP5TypeCaucaseTestCase(ERP5TypeTestCase):
test_caucase_connector = portal_web_service.newContent( test_caucase_connector = portal_web_service.newContent(
id="test_caucase_connector", id="test_caucase_connector",
portal_type="Caucase Connector", portal_type="Caucase Connector",
reference="default", reference="erp5-certificate-login",
user_key=None, user_key=None,
user_certificate=None user_certificate=None
) )
......
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