Futa Arai 2 лет назад
Родитель
Сommit
9a42c9fdc3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/test/integration/service/user-groups.test.ts

+ 1 - 1
apps/app/test/integration/service/user-groups.test.ts

@@ -177,7 +177,7 @@ describe('UserGroupService', () => {
     const userGroup = await UserGroup.findOne({ _id: groupId3 });
     const updatedUserGroup = await crowi.userGroupService.updateGroup(userGroup._id, userGroup.name, userGroup.description, null);
 
-    expect(updatedUserGroup.parent).toBeNull();
+    expect(updatedUserGroup.parent).toBeUndefined();
   });
 
   /*