瀏覽代碼

fix UserGroupService test

Futa Arai 2 年之前
父節點
當前提交
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();
   });
 
   /*