From 4d7b3b5687afe8e1bc069bce21f399b2f8bd6187 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 6 Jun 2017 14:39:31 -0400 Subject: 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 --- store/sql_user_store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store/sql_user_store_test.go') 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() -- cgit v1.2.3-1-g7c22