forked from TrueCloudLab/certificates
Add missing test case.
This commit is contained in:
parent
0b5fd156e8
commit
3246a3e81f
1 changed files with 7 additions and 0 deletions
|
@ -109,6 +109,13 @@ func TestDefaultIdentityFunc(t *testing.T) {
|
|||
identity: &Identity{Usernames: []string{"john", "John@smallstep.com"}},
|
||||
}
|
||||
},
|
||||
"ok symbol": func(t *testing.T) test {
|
||||
return test{
|
||||
p: &OIDC{},
|
||||
email: "John+Doe@smallstep.com",
|
||||
identity: &Identity{Usernames: []string{"john_doe", "John+Doe", "John+Doe@smallstep.com"}},
|
||||
}
|
||||
},
|
||||
}
|
||||
for name, get := range tests {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue