summaryrefslogtreecommitdiff
path: root/pkg/web/open_id_configuration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/web/open_id_configuration_test.go')
-rw-r--r--pkg/web/open_id_configuration_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/web/open_id_configuration_test.go b/pkg/web/open_id_configuration_test.go
index 4c86a35..bfbe90f 100644
--- a/pkg/web/open_id_configuration_test.go
+++ b/pkg/web/open_id_configuration_test.go
@@ -22,7 +22,10 @@ func TestOpenIdConfiguration(t *testing.T) {
Bytes: x509.MarshalPKCS1PrivateKey(key),
})
- h := NewHttpContext("https://example.org", b.Bytes())
+ h := NewHttpContext(&Configuration{
+ Issuer: "https://example.org",
+ KeyData: b.Bytes(),
+ })
t.Run(".well-known/openid-configuration", func(t *testing.T) {
w := httptest.NewRecorder()