Fix two lint errors.

This commit is contained in:
Tommie Gannert 2022-06-08 09:24:08 +02:00
parent 210ab1eef6
commit 4362422a6d
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,8 @@ import (
) )
// maxHTTPTimeout is an upper bound on an HTTP request to an SSO // maxHTTPTimeout is an upper bound on an HTTP request to an SSO
// backend. The individual request context deadlines are also honored. // backend. The individual request context deadlines are also
// honoured.
const maxHTTPTimeout = 10 * time.Second const maxHTTPTimeout = 10 * time.Second
// An Authenticator keeps a set of identity providers and dispatches // An Authenticator keeps a set of identity providers and dispatches

View file

@ -443,7 +443,7 @@ func Test_SSO(t *testing.T) {
ns := util.RandomString(8) ns := util.RandomString(8)
issuer := util.RandomString(8) issuer := util.RandomString(8)
subject := util.RandomString(8) subject := util.RandomString(8)
err := db.SaveSSOAssociation(ctx, ns, issuer, subject, aliceLocalpart) err = db.SaveSSOAssociation(ctx, ns, issuer, subject, aliceLocalpart)
assert.NoError(t, err, "unable to save SSO association") assert.NoError(t, err, "unable to save SSO association")
t.Log("Retrieve localpart for association") t.Log("Retrieve localpart for association")