Chore: Add user service method UpdateLastSeenAt (#53309)

* Chore: Add user service method UpdateLastSeenAt

* Fix lint
This commit is contained in:
idafurjes
2022-08-04 15:44:14 +02:00
committed by GitHub
parent 20f4191e56
commit 0c5b71694f
10 changed files with 30 additions and 13 deletions

View File

@@ -204,7 +204,7 @@ func getContextHandler(t *testing.T, cfg *setting.Cfg) *contexthandler.ContextHa
authProxy := authproxy.ProvideAuthProxy(cfg, remoteCacheSvc, loginservice.LoginServiceMock{}, sqlStore)
loginService := &logintest.LoginServiceFake{}
authenticator := &logintest.AuthenticatorFake{}
ctxHdlr := contexthandler.ProvideService(cfg, userAuthTokenSvc, authJWTSvc, remoteCacheSvc, renderSvc, sqlStore, tracer, authProxy, loginService, nil, authenticator)
ctxHdlr := contexthandler.ProvideService(cfg, userAuthTokenSvc, authJWTSvc, remoteCacheSvc, renderSvc, sqlStore, tracer, authProxy, loginService, nil, authenticator, usertest.NewUserServiceFake())
return ctxHdlr
}