diff options
author | Chris <ccbrown112@gmail.com> | 2018-01-17 12:38:37 -0600 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2018-01-17 13:38:37 -0500 |
commit | 4e6cc846a618ecef5c101727bbd03f6674044ab7 (patch) | |
tree | 1fc093b4b338acf34180c93f30a32de50e17d089 /app/user_test.go | |
parent | dce061630530c467966378ae3c5adbcf4a09e34f (diff) | |
download | chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.gz chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.bz2 chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.zip |
Finally remove utils.Cfg (#8113)
* finally remove utils.Cfg
* fix compile error
* another test compilation fix
Diffstat (limited to 'app/user_test.go')
-rw-r--r-- | app/user_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/user_test.go b/app/user_test.go index 3a924dfa7..38ff286b3 100644 --- a/app/user_test.go +++ b/app/user_test.go @@ -88,10 +88,6 @@ func TestCreateOAuthUser(t *testing.T) { th.App.PermanentDeleteUser(user) - userCreation := th.App.Config().TeamSettings.EnableUserCreation - defer th.App.UpdateConfig(func(cfg *model.Config) { - cfg.TeamSettings.EnableUserCreation = userCreation - }) th.App.Config().TeamSettings.EnableUserCreation = false _, err = th.App.CreateOAuthUser(model.USER_AUTH_SERVICE_GITLAB, strings.NewReader(json), th.BasicTeam.Id) |