[PLT-8430] Auto lowercase team and channel names in API requests (#7992)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
4acc2238e9
Коммит
3d3a234fca
@@ -710,6 +710,9 @@ func TestGetTeamByName(t *testing.T) {
|
||||
_, resp = Client.GetTeamByName("", "")
|
||||
CheckNotFoundStatus(t, resp)
|
||||
|
||||
_, resp = th.SystemAdminClient.GetTeamByName(strings.ToUpper(team.Name), "")
|
||||
CheckNoError(t, resp)
|
||||
|
||||
Client.Logout()
|
||||
_, resp = Client.GetTeamByName(team.Name, "")
|
||||
CheckUnauthorizedStatus(t, resp)
|
||||
|
||||
Ссылка в новой задаче
Block a user