Skip to content

Commit

Permalink
[backend] counters
Browse files Browse the repository at this point in the history
  • Loading branch information
marieflorescontact committed Dec 4, 2024
1 parent dba9a71 commit c8d3145
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ describe('Restricted entities listing', () => {
expect(caseIRCreateQueryResult?.data?.caseIncidentAdd).not.toBeUndefined();
caseIrId = caseIRCreateQueryResult?.data?.caseIncidentAdd.id;
}); // +1 create
it('should Admin user activate Authorized Members for Case IR', async () => {
it('should Admin user activate Authorized Members for Case IR', async () => { // +1 update
userEditorId = await getUserIdByEmail(USER_EDITOR.email);
const caseIRUpdatedQueryResult = await adminQuery({
query: EDIT_AUTHORIZED_MEMBERS_QUERY,
Expand Down Expand Up @@ -810,7 +810,7 @@ describe('Restricted entities listing', () => {
access_right: 'view'
}
]);
});
}); // +1 update
it('should not list all restricted entities', async () => {
await queryAsUserIsExpectedForbidden(USER_EDITOR.client, {
query: LIST_RESTRICTED_ENTITIES,
Expand Down
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/tests/utils/testQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const SYNC_LIVE_START_REMOTE_URI = conf.get('app:sync_live_start_remote_u
export const SYNC_DIRECT_START_REMOTE_URI = conf.get('app:sync_direct_start_remote_uri');
export const SYNC_RESTORE_START_REMOTE_URI = conf.get('app:sync_restore_start_remote_uri');
export const SYNC_TEST_REMOTE_URI = `http://api-tests:${PORT}`;
export const RAW_EVENTS_SIZE = 1129;
export const RAW_EVENTS_SIZE = 1135;
export const SYNC_LIVE_EVENTS_SIZE = 608;

export const PYTHON_PATH = './src/python/testing';
Expand Down

0 comments on commit c8d3145

Please sign in to comment.