Migrate store methods to use request.Context instead of context.Context (#24836)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0d5a8b8841
Коммит
13c05a571f
@@ -55,7 +55,7 @@ func TestNotifySessionsExpired(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, d := range data {
|
||||
_, err := th.App.CreateSession(&model.Session{
|
||||
_, err := th.App.CreateSession(th.Context, &model.Session{
|
||||
UserId: th.BasicUser.Id,
|
||||
DeviceId: d.deviceID,
|
||||
ExpiresAt: d.expiresAt,
|
||||
|
||||
Ссылка в новой задаче
Block a user