Skip to content

Commit

Permalink
10492: quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pixiwyn committed Oct 4, 2024
1 parent 5e49404 commit b09299f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '@web-api/persistence/postgres/messages/mocks.jest';
import { applicationContext } from '../../../../../shared/src/business/test/createTestApplicationContext';
import { processMessageEntries } from './processMessageEntries';
import { processUserCaseNoteEntries } from '@web-api/business/useCases/processStreamRecords/processUserCaseNoteEntries';
import { upsertUserCaseNotes } from '@web-api/persistence/postgres/userCaseNotes/upsertUserCaseNotes';

jest.mock('@web-api/persistence/postgres/messages/upsertMessages');
Expand Down Expand Up @@ -36,9 +36,9 @@ describe('processUserCaseNoteEntries', () => {
},
};

await processMessageEntries({
await processUserCaseNoteEntries({
applicationContext,
messageRecords: [mockUserCaseNoteRecord],
userCaseNoteRecords: [mockUserCaseNoteRecord],
});

expect(upsertUserCaseNotes).toHaveBeenCalled();
Expand Down

0 comments on commit b09299f

Please sign in to comment.