Browse Source

fix UserGroupService test

Futa Arai 2 years ago
parent
commit
9a42c9fdc3
1 changed files with 1 additions and 1 deletions
  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 userGroup = await UserGroup.findOne({ _id: groupId3 });
     const updatedUserGroup = await crowi.userGroupService.updateGroup(userGroup._id, userGroup.name, userGroup.description, null);
     const updatedUserGroup = await crowi.userGroupService.updateGroup(userGroup._id, userGroup.name, userGroup.description, null);
 
 
-    expect(updatedUserGroup.parent).toBeNull();
+    expect(updatedUserGroup.parent).toBeUndefined();
   });
   });
 
 
   /*
   /*