diff options
Diffstat (limited to 'api/command_msg_test.go')
-rw-r--r-- | api/command_msg_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/command_msg_test.go b/api/command_msg_test.go index ad1c8d5ce..4fe28fdba 100644 --- a/api/command_msg_test.go +++ b/api/command_msg_test.go @@ -38,4 +38,7 @@ func TestMsgCommands(t *testing.T) { if !strings.HasSuffix(rs3.GotoLocation, "/"+team.Name+"/channels/"+user1.Id+"__"+user2.Id) && !strings.HasSuffix(rs3.GotoLocation, "/"+team.Name+"/channels/"+user2.Id+"__"+user1.Id) { t.Fatal("failed to go back to existing direct channel") } + + Client.Must(Client.Command("", "/msg "+th.BasicUser.Username+" foobar")) + Client.Must(Client.Command("", "/msg junk foobar")) } |