(t *testing.T, el *etree.Element)
| 18 | } |
| 19 | |
| 20 | func 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". |
no outgoing calls
no test coverage detected