summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store_test.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-06-06 14:39:31 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-06-06 14:39:31 -0400
commit4d7b3b5687afe8e1bc069bce21f399b2f8bd6187 (patch)
tree95c7f2e9a329022e41f4d492b1f5a9542c99c114 /store/sql_user_store_test.go
parent3dc625a8bdafd34f924a08938fedf13b271af24e (diff)
downloadchat-4d7b3b5687afe8e1bc069bce21f399b2f8bd6187.tar.gz
chat-4d7b3b5687afe8e1bc069bce21f399b2f8bd6187.tar.bz2
chat-4d7b3b5687afe8e1bc069bce21f399b2f8bd6187.zip
PLT-6752/PLT-6755 Fixed users removed from a team counting against max team members (#6578)
* PLT-6752 Fixed users removed from a team counting against max team members * Updated unit tests for max team members * Fixed being able to have MaxUserPerTeam+1 users in a team
Diffstat (limited to 'store/sql_user_store_test.go')
-rw-r--r--store/sql_user_store_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_user_store_test.go b/store/sql_user_store_test.go
index 367dc46dc..66bafda4e 100644
--- a/store/sql_user_store_test.go
+++ b/store/sql_user_store_test.go
@@ -46,7 +46,7 @@ func TestUserStoreSave(t *testing.T) {
t.Fatal("should be unique username")
}
- for i := 0; i < 50; i++ {
+ for i := 0; i < 49; i++ {
u1.Id = ""
u1.Email = model.NewId()
u1.Username = model.NewId()