From bbb2dadc9d93fcb57d1b7026fe7bfb07a28cf352 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 13 Dec 2023 14:36:01 +0100 Subject: [PATCH] refs #6062 test: fix value name --- test/vitest/__tests__/components/common/VnLog.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); });