From 3d3a234fca1d2ee43f5c4fc8961d44fde2512c82 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Fri, 12 Jan 2018 15:01:45 +0100 Subject: [PLT-8430] Auto lowercase team and channel names in API requests (#7992) --- api4/team_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api4/team_test.go') diff --git a/api4/team_test.go b/api4/team_test.go index ebae18f7a..5d416c04d 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -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) -- cgit v1.2.3-1-g7c22