mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-09 15:13:12 -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
|
userInteractive *UserInteractive
|
||||||
}
|
}
|
||||||
|
|
||||||
func createLoginContext(t *testing.T) *loginContext {
|
func createLoginContext(_ *testing.T) *loginContext {
|
||||||
chainIds := []int{4}
|
chainIds := []int{4}
|
||||||
|
|
||||||
cfg := &config.ClientAPI{
|
cfg := &config.ClientAPI{
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ type registerContext struct {
|
||||||
userInteractive *auth.UserInteractive
|
userInteractive *auth.UserInteractive
|
||||||
}
|
}
|
||||||
|
|
||||||
func createRegisterContext(t *testing.T) *registerContext {
|
func createRegisterContext(_ *testing.T) *registerContext {
|
||||||
chainIds := []int{4}
|
chainIds := []int{4}
|
||||||
|
|
||||||
cfg := &config.ClientAPI{
|
cfg := &config.ClientAPI{
|
||||||
|
|
@ -173,8 +173,8 @@ func (*fakePublicKeyUserApi) QueryLoginToken(ctx context.Context, req *uapi.Quer
|
||||||
func newRegistrationSession(
|
func newRegistrationSession(
|
||||||
t *testing.T,
|
t *testing.T,
|
||||||
userId string,
|
userId string,
|
||||||
cfg *config.ClientAPI,
|
_ *config.ClientAPI,
|
||||||
userInteractive *auth.UserInteractive,
|
_ *auth.UserInteractive,
|
||||||
userAPI *fakePublicKeyUserApi,
|
userAPI *fakePublicKeyUserApi,
|
||||||
) string {
|
) string {
|
||||||
body := fmt.Sprintf(`{
|
body := fmt.Sprintf(`{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue