weihy преди 5 години
родител
ревизия
97e45c950b
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      mooctest-site-server/src/test/java/cn/iselab/mooctest/site/web/logic/impl/GroupLogicImplTest.java

+ 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