Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat(breadcrumb): add a patient to the store in HispitalRun.tests.tsx
Browse files Browse the repository at this point in the history
fix #1770
  • Loading branch information
oliv37 committed Feb 9, 2020
1 parent 3e43558 commit 63517e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__tests__/HospitalRun.test.tsx
Expand Up @@ -96,6 +96,7 @@ describe('HospitalRun', () => {
store={mockStore({
title: 'test',
user: { permissions: [Permissions.WritePatients] },
patient: { patient: {} },
})}
>
<MemoryRouter initialEntries={['/patients/edit/123']}>
Expand All @@ -113,6 +114,7 @@ describe('HospitalRun', () => {
store={mockStore({
title: 'test',
user: { permissions: [Permissions.ReadPatients] },
patient: { patient: {} },
})}
>
<MemoryRouter initialEntries={['/patients/edit/123']}>
Expand Down

0 comments on commit 63517e8

Please sign in to comment.