Skip to content

Commit

Permalink
test updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
devinleighsmith committed Dec 30, 2024
1 parent 012e2f9 commit 55f5dec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public async Task PollForDocument_RelatedDocumentMayanIdNull_UpdatesStatusToPIMS
var service = CreateDocumentQueueServiceWithPermissions(Permissions.SystemAdmin);
var documentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentId = 1 };
var relatedDocument = new PimsDocument { MayanId = null };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1 };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentQueueStatusTypeCode = DocumentQueueStatusTypes.PROCESSING.ToString() };
var documentRepositoryMock = this._helper.GetService<Mock<IDocumentRepository>>();
var documentQueueRepositoryMock = this._helper.GetService<Mock<IDocumentQueueRepository>>();
var documentServiceMock = this._helper.GetService<Mock<IDocumentService>>();
Expand All @@ -230,7 +230,7 @@ public async Task PollForDocument_GetStorageDocumentDetailFails_UpdatesStatusToP
var service = CreateDocumentQueueServiceWithPermissions(Permissions.SystemAdmin);
var documentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentId = 1 };
var relatedDocument = new PimsDocument { MayanId = 1 };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1 };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentQueueStatusTypeCode = DocumentQueueStatusTypes.PROCESSING.ToString() };
var documentDetailsResponse = new ExternalResponse<DocumentDetailModel> { Status = ExternalResponseStatus.Error };
var documentRepositoryMock = this._helper.GetService<Mock<IDocumentRepository>>();
var documentQueueRepositoryMock = this._helper.GetService<Mock<IDocumentQueueRepository>>();
Expand Down Expand Up @@ -283,7 +283,7 @@ public async Task PollForDocument_FileLatestIdNotNull_UpdatesStatusToSuccess()
var service = CreateDocumentQueueServiceWithPermissions(Permissions.SystemAdmin);
var documentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentId = 1 };
var relatedDocument = new PimsDocument { MayanId = 1 };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1 };
var databaseDocumentQueue = new PimsDocumentQueue { DocumentQueueId = 1, DocumentQueueStatusTypeCode = DocumentQueueStatusTypes.PROCESSING.ToString() };
var documentDetailModel = new DocumentDetailModel { FileLatest = new FileLatestModel { Id = 1 } };
var documentDetailsResponse = new ExternalResponse<DocumentDetailModel> { Status = ExternalResponseStatus.Success, Payload = documentDetailModel };
var documentRepositoryMock = this._helper.GetService<Mock<IDocumentRepository>>();
Expand Down

0 comments on commit 55f5dec

Please sign in to comment.