Return empty list of channels when requesting more channels at the end of cursor (#21557)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b93a013934
Коммит
79e4959d02
@@ -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)
|
||||
|
||||
Ссылка в новой задаче
Block a user