Return empty list of channels when requesting more channels at the end of cursor (#21557)

Этот коммит содержится в:
Zubair Ahmed
2022-11-02 15:10:51 +05:30
коммит произвёл GitHub
родитель b93a013934
Коммит 79e4959d02
4 изменённых файлов: 18 добавлений и 13 удалений

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

@@ -310,7 +310,7 @@ func TestGraphQLChannels(t *testing.T) {
resp, err = th.MakeGraphQLRequest(&input)
require.NoError(t, err)
require.Len(t, resp.Errors, 1) // no channels found
require.Len(t, resp.Errors, 0) // no errors for no channels found
th.BasicChannel.Purpose = "newpurpose"
_, _, err = th.Client.UpdateChannel(th.BasicChannel)