Merge remote-tracking branch 'upstream/release-5.3' into release-5.3-daily-merge-20180904
Этот коммит содержится в:
@@ -220,6 +220,12 @@ func testChannelStoreUpdate(t *testing.T, ss store.Store) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
o1.DeleteAt = 100
|
||||
if err := (<-ss.Channel().Update(&o1)).Err; err == nil {
|
||||
t.Fatal("Update should have failed because channel is archived")
|
||||
}
|
||||
|
||||
o1.DeleteAt = 0
|
||||
o1.Id = "missing"
|
||||
if err := (<-ss.Channel().Update(&o1)).Err; err == nil {
|
||||
t.Fatal("Update should have failed because of missing key")
|
||||
|
||||
Ссылка в новой задаче
Block a user