Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
f8b269e7
Commit
f8b269e7
authored
Sep 25, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
internal/sessiontest/requestor_test.go
View file @
f8b269e7
...
...
@@ -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
()),
},
},
{},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment