diff options
Diffstat (limited to 'api/command_loadtest.go')
-rw-r--r-- | api/command_loadtest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_loadtest.go b/api/command_loadtest.go index b76187960..26306440f 100644 --- a/api/command_loadtest.go +++ b/api/command_loadtest.go @@ -164,7 +164,7 @@ func (me *LoadTestProvider) SetupCommand(c *Context, channelId string, message s if err := CreateBasicUser(client); err != nil { return &model.CommandResponse{Text: "Failed to create testing environment", ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } - client.LoginByEmail(BTEST_TEAM_NAME, BTEST_USER_EMAIL, BTEST_USER_PASSWORD) + client.Login(BTEST_USER_EMAIL, BTEST_USER_PASSWORD) environment, err := CreateTestEnvironmentWithTeams( client, utils.Range{numTeams, numTeams}, |