[GH-10866] Preferrence.Save - Remove preference length return arg (#10962)

Этот коммит содержится в:
Ishank Gulati
2019-05-29 19:24:57 +05:30
коммит произвёл Harrison Healey
родитель 42ac975c0e
Коммит 3b25e09b99
15 изменённых файлов: 52 добавлений и 90 удалений

Просмотреть файл

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