diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-02-19 21:09:36 +0100 |
---|---|---|
committer | Jesús Espino <jespinog@gmail.com> | 2018-02-19 21:09:36 +0100 |
commit | c39291597be9642e5dc200bdb0c3730d2b776c32 (patch) | |
tree | 38a28f98e4577de13a9fc81f56c7538d07b9e715 /app/team_test.go | |
parent | 45d7c51d9f27a60c15e833706cab07dd7e014e2d (diff) | |
download | chat-c39291597be9642e5dc200bdb0c3730d2b776c32.tar.gz chat-c39291597be9642e5dc200bdb0c3730d2b776c32.tar.bz2 chat-c39291597be9642e5dc200bdb0c3730d2b776c32.zip |
Remove unnecesary line
Diffstat (limited to 'app/team_test.go')
-rw-r--r-- | app/team_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
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 |