diff options
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r-- | api4/channel_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go index 79cbb8331..724b0d84b 100644 --- a/api4/channel_test.go +++ b/api4/channel_test.go @@ -9,6 +9,7 @@ import ( "reflect" "sort" "strconv" + "strings" "testing" "github.com/mattermost/mattermost-server/model" @@ -1136,6 +1137,9 @@ func TestGetChannelByName(t *testing.T) { t.Fatal("names did not match") } + _, resp = Client.GetChannelByName(strings.ToUpper(th.BasicPrivateChannel.Name), th.BasicTeam.Id, "") + CheckNoError(t, resp) + Client.RemoveUserFromChannel(th.BasicChannel.Id, th.BasicUser.Id) _, resp = Client.GetChannelByName(th.BasicChannel.Name, th.BasicTeam.Id, "") CheckNoError(t, resp) |