[MM-15356] Migrate "Channel.Update" to Sync by default (#10815)
Этот коммит содержится в:
коммит произвёл
Hanzei
родитель
3bb11d747d
Коммит
b561d7900c
@@ -410,9 +410,8 @@ func TestGetChannelsForScheme(t *testing.T) {
|
||||
assert.Zero(t, len(l2))
|
||||
|
||||
channel1.SchemeId = &scheme1.Id
|
||||
result2 := <-th.App.Srv.Store.Channel().Update(channel1)
|
||||
assert.Nil(t, result2.Err)
|
||||
channel1 = result2.Data.(*model.Channel)
|
||||
channel1, err := th.App.Srv.Store.Channel().Update(channel1)
|
||||
assert.Nil(t, err)
|
||||
|
||||
l3, r3 := th.SystemAdminClient.GetChannelsForScheme(scheme1.Id, 0, 100)
|
||||
CheckNoError(t, r3)
|
||||
|
||||
Ссылка в новой задаче
Block a user