summaryrefslogtreecommitdiffstats
path: root/app/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/user_test.go')
-rw-r--r--app/user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/user_test.go b/app/user_test.go
index 20dafd826..f0e026fa9 100644
--- a/app/user_test.go
+++ b/app/user_test.go
@@ -88,7 +88,7 @@ func TestCreateOAuthUser(t *testing.T) {
th.App.PermanentDeleteUser(user)
- th.App.Config().TeamSettings.EnableUserCreation = false
+ *th.App.Config().TeamSettings.EnableUserCreation = false
_, err = th.App.CreateOAuthUser(model.USER_AUTH_SERVICE_GITLAB, strings.NewReader(json), th.BasicTeam.Id)
if err == nil {