diff --git a/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.tests.ts b/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.tests.ts index 2947dcd03f..9a1308f416 100644 --- a/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.tests.ts +++ b/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.tests.ts @@ -111,17 +111,6 @@ describe("IdPSection helpers", () => { entity_id: "Entity ID must be present.", }); - expect( - validateFormDataIdp({ - entity_id: "enti", - idp_name: "idpImageUrl", - metadata: "metadata", - metadata_url: "https://metadataUrl.com", - }) - ).toEqual({ - entity_id: "Entity ID must be 5 or more characters.", - }); - expect( validateFormDataIdp({ entity_id: "entityId", diff --git a/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.ts b/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.ts index 0498b7670a..d94f824fe2 100644 --- a/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.ts +++ b/frontend/pages/admin/IntegrationsPage/cards/MdmSettings/components/IdpSection/helpers.ts @@ -43,9 +43,6 @@ const errorEntityId = (data: IFormDataIdp) => { if (!data.entity_id) { return "Entity ID must be present."; } - if (data.entity_id?.length < 5) { - return "Entity ID must be 5 or more characters."; - } return ""; };