mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-07 06:03:09 -06:00
Fix two lint errors.
This commit is contained in:
parent
210ab1eef6
commit
4362422a6d
|
|
@ -26,7 +26,8 @@ import (
|
|||
)
|
||||
|
||||
// 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
|
||||
|
||||
// An Authenticator keeps a set of identity providers and dispatches
|
||||
|
|
|
|||
|
|
@ -443,7 +443,7 @@ func Test_SSO(t *testing.T) {
|
|||
ns := util.RandomString(8)
|
||||
issuer := 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")
|
||||
|
||||
t.Log("Retrieve localpart for association")
|
||||
|
|
|
|||
Loading…
Reference in a new issue