From 63517e8a2a309788f9147107553d8bf1a26b601f Mon Sep 17 00:00:00 2001 From: oliv37 Date: Sun, 9 Feb 2020 20:12:18 +0100 Subject: [PATCH] feat(breadcrumb): add a patient to the store in HispitalRun.tests.tsx fix #1770 --- src/__tests__/HospitalRun.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/__tests__/HospitalRun.test.tsx b/src/__tests__/HospitalRun.test.tsx index 6e8249249e..dc22f7a248 100644 --- a/src/__tests__/HospitalRun.test.tsx +++ b/src/__tests__/HospitalRun.test.tsx @@ -96,6 +96,7 @@ describe('HospitalRun', () => { store={mockStore({ title: 'test', user: { permissions: [Permissions.WritePatients] }, + patient: { patient: {} }, })} > @@ -113,6 +114,7 @@ describe('HospitalRun', () => { store={mockStore({ title: 'test', user: { permissions: [Permissions.ReadPatients] }, + patient: { patient: {} }, })} >