diff options
author | =Corey Hulen <corey@hulen.com> | 2016-02-04 08:03:42 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-02-04 08:03:42 -0800 |
commit | dffc5323ecd9c7bc1af0ea06ef4827078f9bcd52 (patch) | |
tree | ba89623c1d1061135127431556466512662a0328 /api/command_loadtest_test.go | |
parent | 950e25df5af624a0b06d48f28e9979a0c47a081c (diff) | |
download | chat-dffc5323ecd9c7bc1af0ea06ef4827078f9bcd52.tar.gz chat-dffc5323ecd9c7bc1af0ea06ef4827078f9bcd52.tar.bz2 chat-dffc5323ecd9c7bc1af0ea06ef4827078f9bcd52.zip |
PLT-1429 Fixing code review comments
Diffstat (limited to 'api/command_loadtest_test.go')
-rw-r--r-- | api/command_loadtest_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/command_loadtest_test.go b/api/command_loadtest_test.go index 2ae426dc0..7cb77cf18 100644 --- a/api/command_loadtest_test.go +++ b/api/command_loadtest_test.go @@ -197,17 +197,17 @@ func TestLoadTestUrlCommands(t *testing.T) { } command = "/loadtest url https://raw.githubusercontent.com/mattermost/platform/master/README.md" - if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading url..." { + if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading data..." { t.Fatal("/loadtest url for README.md should've executed") } command = "/loadtest url test-emoticons.md" - if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading url..." { + if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading data..." { t.Fatal("/loadtest url for test-emoticons.md should've executed") } command = "/loadtest url test-emoticons" - if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading url..." { + if r := Client.Must(Client.Command(channel.Id, command, false)).Data.(*model.CommandResponse); r.Text != "Loading data..." { t.Fatal("/loadtest url for test-emoticons should've executed") } |