Commit 6162ae65 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 29c22594
......@@ -55,7 +55,7 @@ class CertificateLoginMixin:
portal = self.getPortalObject()
connector_list = portal.portal_catalog.unrestrictedSearchResults(
portal_type="Caucase Connector",
reference="default",
reference="erp5-certificate-login",
validation_state="validated"
)
if len(connector_list) == 0:
......
......@@ -150,7 +150,7 @@ class ERP5TypeCaucaseTestCase(ERP5TypeTestCase):
test_caucase_connector = portal_web_service.newContent(
id="test_caucase_connector",
portal_type="Caucase Connector",
reference="default",
reference="erp5-certificate-login",
user_key=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