Skip to content

Commit

Permalink
[backend] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marieflorescontact authored and lndrtrbn committed Mar 18, 2024
1 parent 63f100f commit 0551de1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ describe('PublicDashboard resolver', () => {
const { publicStixRelationshipsMultiTimeSeries } = data;
const attacksData = publicStixRelationshipsMultiTimeSeries[0].data;
expect(attacksData.length).toEqual(1);
expect(attacksData[0].value).toEqual(4);
expect(attacksData[0].value).toEqual(5);
});

it('should return the data for API: SCO Distribution', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Raw streams tests', () => {
expect(createEventsByTypes['external-reference'].length).toBe(17);
expect(createEventsByTypes.label.length).toBe(15);
expect(createEventsByTypes.identity.length).toBe(30);
expect(createEventsByTypes.relationship.length).toBe(126);
expect(createEventsByTypes.relationship.length).toBe(130);
expect(createEventsByTypes.indicator.length).toBe(33);
expect(createEventsByTypes['attack-pattern'].length).toBe(7);
expect(createEventsByTypes.report.length).toBe(19);
Expand Down

0 comments on commit 0551de1

Please sign in to comment.