* Patch for files

* Fix merge

* Fix tests

* Fix another test
Этот коммит содержится в:
Joram Wilander
2017-10-04 11:42:38 -04:00
коммит произвёл GitHub
родитель fa80cb10a8
Коммит fadd9514f6
7 изменённых файлов: 52 добавлений и 9 удалений

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

@@ -1475,7 +1475,7 @@ func TestGetChannelUnread(t *testing.T) {
CheckNoError(t, resp)
_, resp = th.SystemAdminClient.GetChannelUnread(model.NewId(), user.Id)
CheckNotFoundStatus(t, resp)
CheckForbiddenStatus(t, resp)
_, resp = th.SystemAdminClient.GetChannelUnread(channel.Id, model.NewId())
CheckNotFoundStatus(t, resp)