From dcf9e96a0b16530549168a7891ed8242663b5f28 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 22 Sep 2017 12:54:27 -0500 Subject: remove global refs from api/api4 (#7496) --- manualtesting/test_autolink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manualtesting/test_autolink.go') diff --git a/manualtesting/test_autolink.go b/manualtesting/test_autolink.go index 2e5f9c6e7..2614a9e4b 100644 --- a/manualtesting/test_autolink.go +++ b/manualtesting/test_autolink.go @@ -24,7 +24,7 @@ https://medium.com/@slackhq/11-useful-tips-for-getting-the-most-of-slack-5dfb3d1 func testAutoLink(env TestEnvironment) *model.AppError { l4g.Info(utils.T("manaultesting.test_autolink.info")) - channelID, err := getChannelID(model.DEFAULT_CHANNEL, env.CreatedTeamId, env.CreatedUserId) + channelID, err := getChannelID(env.Context.App, model.DEFAULT_CHANNEL, env.CreatedTeamId, env.CreatedUserId) if err != true { return model.NewAppError("/manualtest", "manaultesting.test_autolink.unable.app_error", nil, "", http.StatusInternalServerError) } -- cgit v1.2.3-1-g7c22