Bläddra i källkod

增加测试用例

weihy 5 år sedan
förälder
incheckning
97e45c950b

+ 1 - 0
mooctest-site-server/src/test/java/cn/iselab/mooctest/site/web/logic/impl/GroupLogicImplTest.java

@@ -115,6 +115,7 @@ public class GroupLogicImplTest extends AbstractShiroTest{
         List<Integer> count = new ArrayList<>();
         count.add(3);
         when(groupService.getGroupsByOwnerId(123L)).thenReturn(groups);
+        groups.get(0).setClassSize(60);
         when(groupVOWrapper.wrap(groups)).thenReturn(groupVOS);
         when(groupService.getWorkerCounts(anyList())).thenReturn(count);
         //action