add unit tests for oidc.Userinfo

- Add get methods for Address fields to handle nil pointers as we used to
This commit is contained in:
Tim Möhlmann 2023-03-02 17:35:06 +02:00
parent 72a108a33b
commit d41f4b5d21
6 changed files with 52 additions and 5 deletions

2
go.mod
View file

@ -10,7 +10,7 @@ require (
github.com/gorilla/schema v1.2.0
github.com/gorilla/securecookie v1.1.1
github.com/jeremija/gosubmit v0.2.7
github.com/muhlemmer/gu v0.2.0
github.com/muhlemmer/gu v0.3.0
github.com/rs/cors v1.8.3
github.com/sirupsen/logrus v1.9.0
github.com/stretchr/testify v1.8.1