Merge remote-tracking branch 'upstream/release-5.3' into release-5.3-daily-merge-20180904

Этот коммит содержится в:
cpanato
2018-09-04 23:27:39 +02:00
родитель 50af3a19a2 d2190527ea
Коммит 4cf6913c1c
7 изменённых файлов: 153 добавлений и 28 удалений

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

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