MCPcopy Create free account
hub / github.com/crewjam/saml / attributeValueString

Function attributeValueString

attribute_value_test.go:20–27  ·  view source on GitHub ↗
(t *testing.T, el *etree.Element)

Source from the content-addressed store, hash-verified

18}
19
20func attributeValueString(t *testing.T, el *etree.Element) string {
21 t.Helper()
22 doc := etree.NewDocument()
23 doc.SetRoot(el)
24 s, err := doc.WriteToString()
25 assert.NilError(t, err)
26 return s
27}
28
29// saml-core §2.7.3.1.1: a null value is an empty <AttributeValue> carrying
30// xsi:nil with a value of "true" or "1".

Calls

no outgoing calls

Tested by

no test coverage detected