Skip to content
Snippets Groups Projects
Commit b5228592 authored by srosse's avatar srosse
Browse files

OO-1071: fix unit test

parent fcc399a3
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ public class BusinessGroupDAO { ...@@ -104,7 +104,7 @@ public class BusinessGroupDAO {
SecurityGroup waitingGroup = securityManager.createAndPersistSecurityGroup(); SecurityGroup waitingGroup = securityManager.createAndPersistSecurityGroup();
businessgroup = new BusinessGroupImpl(name, description, ownerGroup, participantGroup, waitingGroup); businessgroup = new BusinessGroupImpl(name, description, ownerGroup, participantGroup, waitingGroup);
if(minParticipants != null && minParticipants.intValue() > 0) { if(minParticipants != null && minParticipants.intValue() >= 0) {
businessgroup.setMinParticipants(minParticipants); businessgroup.setMinParticipants(minParticipants);
} }
if(maxParticipants != null && maxParticipants.intValue() >= 0) { if(maxParticipants != null && maxParticipants.intValue() >= 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment