summaryrefslogtreecommitdiffstats
path: root/app/user_test.go
diff options
context:
space:
mode:
authorBalasankar C <balasankarc@users.noreply.github.com>2018-05-18 19:27:30 +0530
committerHarrison Healey <harrisonmhealey@gmail.com>2018-05-18 09:57:30 -0400
commitd3ead7dc8535f8fa5b175686cc1f7669c8b1648b (patch)
treead6e0294e908f71c28f5fed1372c09b972e803a5 /app/user_test.go
parentc6cbce610043bb050f2c542412eb439dc22c4a88 (diff)
downloadchat-d3ead7dc8535f8fa5b175686cc1f7669c8b1648b.tar.gz
chat-d3ead7dc8535f8fa5b175686cc1f7669c8b1648b.tar.bz2
chat-d3ead7dc8535f8fa5b175686cc1f7669c8b1648b.zip
MM-10640 Set EnableUserCreation to true by default (#8815)
* Set EnableUserCreation to true by default * Fix argument type to FormatBool * Convert EnableUserCreation instances to pointer * Convert to boolean in tests also * Set value of pointer to be false * Convert remaining EnableUserCreation instances to pointer
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 {