Updated permanentDelete to receive user context as the first argument (#26884)
Co-authored-by: Ezekiel <ezekielchow94@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a6aa92d149
Коммит
5746bb8df3
@@ -56,7 +56,7 @@ func TestFirstUserPromoted(t *testing.T) {
|
||||
|
||||
require.Equal(t, model.SystemUserRoleId, user2.Roles)
|
||||
|
||||
th.dbStore.User().PermanentDelete(user.Id)
|
||||
th.dbStore.User().PermanentDelete(th.Context, user.Id)
|
||||
|
||||
b := &model.Bot{
|
||||
UserId: user2.Id,
|
||||
|
||||
Ссылка в новой задаче
Block a user