From 5ac0cc2f3110923e66d619d6b89a3fac6c218283 Mon Sep 17 00:00:00 2001 From: Simon Skoczylas Date: Sun, 8 Sep 2024 08:06:28 +0200 Subject: [PATCH] Add tests --- internal/server/handler/oidc/userinfo_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/server/handler/oidc/userinfo_test.go b/internal/server/handler/oidc/userinfo_test.go index d25128b..3a05993 100644 --- a/internal/server/handler/oidc/userinfo_test.go +++ b/internal/server/handler/oidc/userinfo_test.go @@ -43,6 +43,9 @@ func Test_UserInfo(t *testing.T) { Country: "Main", }, }, + Roles: map[string][]string{ + "foo": {"role1", "role2"}, + }, }, }, }