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

fetch-document-by-id-review-file-changes

parent 1f0e0b1d
Branches
No related tags found
1 merge request!3fetchdocumentById in dms
......@@ -184,7 +184,7 @@ describe('DocumentService', () => {
it('should throw NotFoundException if document is not found', async () => {
jest.spyOn(service['prisma'].documents, 'findUnique').mockResolvedValue(null);
await expect(service.fetchDocument({ id: 'not-found-id' })).rejects.toThrow('981');
await expect(service.fetchDocument({ id: 'not-found-id' })).rejects.toThrow('980');
});
});
});
/**
@file <file name>
@description <description>
@author <Your Name>
@created <YYYY-MM-DD>
**/
import { Action, Status } from '@prisma/client';
export interface LogInsertionDocumentsAuditLogsArgs {
export interface LogAuditLogsArgs {
logDetails: {
document_id: string;
action: Action;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment