From b09299f6b0133c2946c51e2867354bdcd209087b Mon Sep 17 00:00:00 2001 From: Kaitlyn Swann Date: Fri, 4 Oct 2024 11:00:38 -0600 Subject: [PATCH] 10492: quick fix --- .../processStreamRecords/processUserCaseNoteEntries.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-api/src/business/useCases/processStreamRecords/processUserCaseNoteEntries.test.ts b/web-api/src/business/useCases/processStreamRecords/processUserCaseNoteEntries.test.ts index 018d5c48f57..526b1b27cdd 100644 --- a/web-api/src/business/useCases/processStreamRecords/processUserCaseNoteEntries.test.ts +++ b/web-api/src/business/useCases/processStreamRecords/processUserCaseNoteEntries.test.ts @@ -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'); @@ -36,9 +36,9 @@ describe('processUserCaseNoteEntries', () => { }, }; - await processMessageEntries({ + await processUserCaseNoteEntries({ applicationContext, - messageRecords: [mockUserCaseNoteRecord], + userCaseNoteRecords: [mockUserCaseNoteRecord], }); expect(upsertUserCaseNotes).toHaveBeenCalled();