diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/service/IncommonJPAMetadataResolverServiceImplTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/service/IncommonJPAMetadataResolverServiceImplTests.groovy index cae0c8afc..58c7c1a0c 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/service/IncommonJPAMetadataResolverServiceImplTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/service/IncommonJPAMetadataResolverServiceImplTests.groovy @@ -76,7 +76,7 @@ class IncommonJPAMetadataResolverServiceImplTests extends Specification { it } def attribute = attributeUtility.createAttributeWithStringValues('here', null, 'there') - attribute.nameFormat = null + attribute.nameFormat = 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri' attribute.namespacePrefix = 'saml' attribute.attributeValues.each { val -> ((XSString)val).namespacePrefix = 'saml' diff --git a/backend/src/test/resources/conf/278.2.xml b/backend/src/test/resources/conf/278.2.xml index 269a2f3ec..3b5e9c731 100644 --- a/backend/src/test/resources/conf/278.2.xml +++ b/backend/src/test/resources/conf/278.2.xml @@ -27,7 +27,7 @@ + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Name="here" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> there https://sp1.example.org