Commit f8b269e7 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

test: have TestOptionalDisclosure also compare issuance time (cf. 82a4ad47)

parent cbcd1582
Pipeline #30196 passed with stages
in 6 minutes and 16 seconds
......@@ -247,10 +247,11 @@ func TestOptionalDisclosure(t *testing.T) {
disclosed1 := [][]*irma.DisclosedAttribute{
{
{
RawValue: &radboud,
Value: map[string]string{"": radboud, "en": radboud, "nl": radboud},
Identifier: irma.NewAttributeTypeIdentifier("irma-demo.RU.studentCard.university"),
Status: irma.AttributeProofStatusPresent,
RawValue: &radboud,
Value: map[string]string{"": radboud, "en": radboud, "nl": radboud},
Identifier: irma.NewAttributeTypeIdentifier("irma-demo.RU.studentCard.university"),
Status: irma.AttributeProofStatusPresent,
IssuanceTime: irma.Timestamp(client.Attributes(university.CredentialTypeIdentifier(), 0).SigningDate()),
},
},
{},
......
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