texuf 2022-07-19 14:48:25 -07:00
parent 3cc94f824b
commit 706a5a8b47
2 changed files with 4 additions and 4 deletions

View file

@ -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{

View file

@ -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(`{