Skip to content

Commit

Permalink
Revert upload route
Browse files Browse the repository at this point in the history
  • Loading branch information
RioKnightleyNHS committed Feb 16, 2024
1 parent f800aeb commit eb0c415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/pages/patientResultPage/PatientResultPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('PatientResultPage', () => {
});

await waitFor(() => {
expect(mockedUseNavigate).toHaveBeenCalledWith(routes.LLOYD_GEORGE_UPLOAD);
expect(mockedUseNavigate).toHaveBeenCalledWith(routes.ARF_UPLOAD_DOCUMENTS);
});
},
);
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/patientResultPage/PatientResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function PatientResultPage() {
if (patientDetails?.active) {
navigate(routes.LLOYD_GEORGE);
} else {
navigate(routes.LLOYD_GEORGE_UPLOAD);
navigate(routes.ARF_UPLOAD_DOCUMENTS);
}
}

Expand Down

0 comments on commit eb0c415

Please sign in to comment.