mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-09 07:03:10 -06:00
Fix lint errors
https://github.com/HereNotThere/dendrite/runs/7417009281?check_suite_focus=true
This commit is contained in:
parent
3cc94f824b
commit
706a5a8b47
|
|
@ -34,7 +34,7 @@ type loginContext struct {
|
|||
userInteractive *UserInteractive
|
||||
}
|
||||
|
||||
func createLoginContext(t *testing.T) *loginContext {
|
||||
func createLoginContext(_ *testing.T) *loginContext {
|
||||
chainIds := []int{4}
|
||||
|
||||
cfg := &config.ClientAPI{
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ type registerContext struct {
|
|||
userInteractive *auth.UserInteractive
|
||||
}
|
||||
|
||||
func createRegisterContext(t *testing.T) *registerContext {
|
||||
func createRegisterContext(_ *testing.T) *registerContext {
|
||||
chainIds := []int{4}
|
||||
|
||||
cfg := &config.ClientAPI{
|
||||
|
|
@ -173,8 +173,8 @@ func (*fakePublicKeyUserApi) QueryLoginToken(ctx context.Context, req *uapi.Quer
|
|||
func newRegistrationSession(
|
||||
t *testing.T,
|
||||
userId string,
|
||||
cfg *config.ClientAPI,
|
||||
userInteractive *auth.UserInteractive,
|
||||
_ *config.ClientAPI,
|
||||
_ *auth.UserInteractive,
|
||||
userAPI *fakePublicKeyUserApi,
|
||||
) string {
|
||||
body := fmt.Sprintf(`{
|
||||
|
|
|
|||
Loading…
Reference in a new issue