From 7ff2aef7facdeb025a1651ef411fceb3d81932c1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 3 Feb 2017 15:17:34 -0500 Subject: Implement GET /users endpoint for APIv4 (#5277) --- api4/apitestlib.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api4/apitestlib.go') diff --git a/api4/apitestlib.go b/api4/apitestlib.go index 6229c8a08..f647ffa9c 100644 --- a/api4/apitestlib.go +++ b/api4/apitestlib.go @@ -97,6 +97,8 @@ func (me *TestHelper) InitBasic() *TestHelper { LinkUserToTeam(me.BasicUser, me.BasicTeam) me.BasicUser2 = me.CreateUser() LinkUserToTeam(me.BasicUser2, me.BasicTeam) + app.AddUserToChannel(me.BasicUser, me.BasicChannel) + app.AddUserToChannel(me.BasicUser2, me.BasicChannel) app.UpdateUserRoles(me.BasicUser.Id, model.ROLE_SYSTEM_USER.Id) me.LoginBasic() -- cgit v1.2.3-1-g7c22