Skip to content
Snippets Groups Projects
Commit 34151fd9 authored by Manjunath Kumar's avatar Manjunath Kumar
Browse files

create-doctor-testcase-fix-1

parent 485c28d4
No related branches found
No related tags found
1 merge request!35create-doctor-testcase-fix-1
......@@ -389,6 +389,7 @@ describe('addDoctor', () => {
const minimalDto: CreateDoctorDto = {
doctorName: 'Dr. Fail', created_by: 'creator-fail',
updated_by: 'updater-fail',
doctorSpecialityId: 'uuid-spec',
};
await expect(service.addDoctor(minimalDto)).rejects.toThrow('MOCK_HANDLE_PRISMA_ERROR');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment