diff --git a/app/team_test.go b/app/team_test.go index a2bf44a574..cdfec12dad 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