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
Этот коммит содержится в:
Harrison Healey
2017-06-06 14:39:31 -04:00
коммит произвёл Joram Wilander
родитель 3dc625a8bd
Коммит 4d7b3b5687
3 изменённых файлов: 106 добавлений и 3 удалений

Просмотреть файл

@@ -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()