[GH-10866] Preferrence.Save - Remove preference length return arg (#10962)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
42ac975c0e
Коммит
3b25e09b99
@@ -80,9 +80,8 @@ func TestExportUserChannels(t *testing.T) {
|
||||
}
|
||||
var preferences model.Preferences
|
||||
preferences = append(preferences, preference)
|
||||
count, err := th.App.Srv.Store.Preference().Save(&preferences)
|
||||
err := th.App.Srv.Store.Preference().Save(&preferences)
|
||||
require.Nil(t, err)
|
||||
require.Equal(t, 1, count)
|
||||
|
||||
th.App.UpdateChannelMemberNotifyProps(notifyProps, channel.Id, user.Id)
|
||||
exportData, err := th.App.buildUserChannelMemberships(user.Id, team.Id)
|
||||
|
||||
Ссылка в новой задаче
Block a user