Skip to content

Commit 9be6ce4

Browse files
[backend] Fix tests
1 parent 05cbc74 commit 9be6ce4

File tree

1 file changed

+2
-2
lines changed
  • opencti-platform/opencti-graphql/tests/03-integration/02-resolvers

1 file changed

+2
-2
lines changed

opencti-platform/opencti-graphql/tests/03-integration/02-resolvers/log-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ describe('Log resolver standard behavior', async () => {
9797
const historyChange = updateEvent.node.context_data.history_changes[0];
9898
expect(historyChange).toEqual({
9999
field: 'Report--description',
100-
history_previous: [],
101-
history_added: [{ raw: 'new description', translated: 'new description' }],
100+
history_removed: [],
101+
history_added: [{ raw: 'new description' }],
102102
});
103103
});
104104
});

0 commit comments

Comments
 (0)