diff --git a/vigilcare-records-web/src/__tests__/components/ApprovalForm.test.ts b/vigilcare-records-web/src/__tests__/components/ApprovalForm.test.ts index aff4067..b66f454 100644 --- a/vigilcare-records-web/src/__tests__/components/ApprovalForm.test.ts +++ b/vigilcare-records-web/src/__tests__/components/ApprovalForm.test.ts @@ -121,7 +121,7 @@ describe('ApprovalForm', () => { it('uses clinical framing distinct from verification', () => { const wrapper = mountForm() expect(wrapper.find('[data-testid="approval-form"]').classes()).toContain('approval-frame') - expect(wrapper.text()).toContain('Clinical Approval') + expect(wrapper.text()).toContain('Sign-off review') expect(wrapper.text()).toContain('Clinical sign-off before promotion') expect(wrapper.text()).toContain('Verified draft') }) diff --git a/vigilcare-records-web/src/__tests__/stores/batches.test.ts b/vigilcare-records-web/src/__tests__/stores/batches.test.ts index 6cf525e..3491dea 100644 --- a/vigilcare-records-web/src/__tests__/stores/batches.test.ts +++ b/vigilcare-records-web/src/__tests__/stores/batches.test.ts @@ -113,7 +113,12 @@ describe('useBatchStore', () => { const store = useBatchStore() await store.getBatch('b1') - expect(store.currentBatch).toEqual(batch) + expect(store.currentBatch).toEqual({ + ...batch, + enteredByUserName: null, + verifiedByUserName: null, + approvedByUserName: null, + }) expect(store.documentUrl).toBe('https://example.com/doc') })