diff --git a/test/vitest/__tests__/components/common/VnLog.spec.js b/test/vitest/__tests__/components/common/VnLog.spec.js index dbcb30272..b654bff9b 100644 --- a/test/vitest/__tests__/components/common/VnLog.spec.js +++ b/test/vitest/__tests__/components/common/VnLog.spec.js @@ -104,7 +104,7 @@ describe('VnLog', () => { }); it('should correctly set logTree', async () => { - vm.logTree = vm.getLogs(fakeLogTreeData); + vm.logTree = vm.getLogTree(fakeLogTreeData); expect(vm.logTree[0].originFk).toEqual(1); expect(vm.logTree[0].logs[0].user.name).toEqual('salesPerson'); });