Przeglądaj źródła

fix UserGroupService test

Futa Arai 2 lat temu
rodzic
commit
9a42c9fdc3

+ 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();
   });
 
   /*