From c39291597be9642e5dc200bdb0c3730d2b776c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 19 Feb 2018 21:09:36 +0100 Subject: Remove unnecesary line --- app/team_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'app') diff --git a/app/team_test.go b/app/team_test.go index a2bf44a57..cdfec12da 100644 --- a/app/team_test.go +++ b/app/team_test.go @@ -481,7 +481,6 @@ func TestJoinUserToTeam(t *testing.T) { maxUsersPerTeam := th.App.Config().TeamSettings.MaxUsersPerTeam defer func() { th.App.UpdateConfig(func(cfg *model.Config) { cfg.TeamSettings.MaxUsersPerTeam = maxUsersPerTeam }) - th.App.SetDefaultRolesBasedOnConfig() th.App.PermanentDeleteTeam(team) }() one := 1 -- cgit v1.2.3-1-g7c22