From 3246a3e81f623dab008718d8d5ae78c9d7c7d220 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 26 May 2020 10:22:15 -0700 Subject: [PATCH] Add missing test case. --- authority/provisioner/provisioner_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/authority/provisioner/provisioner_test.go b/authority/provisioner/provisioner_test.go index 39ce2e2e..bf99aa76 100644 --- a/authority/provisioner/provisioner_test.go +++ b/authority/provisioner/provisioner_test.go @@ -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) {