Fix user autocomplete for DMs and GMs (#6265)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
91f3e10854
Коммит
36a15925dc
@@ -507,6 +507,12 @@ func TestAutocompleteUsers(t *testing.T) {
|
||||
t.Fatal("should have many users")
|
||||
}
|
||||
|
||||
rusers, resp = Client.AutocompleteUsersInChannel("", channelId, "", "")
|
||||
CheckNoError(t, resp)
|
||||
if len(rusers.Users) < 2 {
|
||||
t.Fatal("should have many users")
|
||||
}
|
||||
|
||||
rusers, resp = Client.AutocompleteUsersInTeam(teamId, username, "")
|
||||
CheckNoError(t, resp)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user