mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 00:53:19 +00:00
style(uplifts): format queue contract tests (SH-208)
This commit is contained in:
parent
b5e8f038c1
commit
1b73593189
1 changed files with 33 additions and 9 deletions
|
|
@ -409,21 +409,45 @@ public sealed class UpliftQueueReadTests
|
||||||
context.VendorCompletionDocuments.AddRange(
|
context.VendorCompletionDocuments.AddRange(
|
||||||
new VendorCompletionDocument
|
new VendorCompletionDocument
|
||||||
{
|
{
|
||||||
VendorId = vendor.Id, DispatchId = dispatch.Id, WorkOrderId = workOrder.Id,
|
VendorId = vendor.Id,
|
||||||
OriginalFileName = "quote.pdf", StoredFileName = "a.bin", ContentType = "application/pdf",
|
DispatchId = dispatch.Id,
|
||||||
SizeBytes = 512, ScanStatus = "Passed", ReviewStatus = "Approved", Purpose = "UpliftEvidence", Version = 1
|
WorkOrderId = workOrder.Id,
|
||||||
|
OriginalFileName = "quote.pdf",
|
||||||
|
StoredFileName = "a.bin",
|
||||||
|
ContentType = "application/pdf",
|
||||||
|
SizeBytes = 512,
|
||||||
|
ScanStatus = "Passed",
|
||||||
|
ReviewStatus = "Approved",
|
||||||
|
Purpose = "UpliftEvidence",
|
||||||
|
Version = 1
|
||||||
},
|
},
|
||||||
new VendorCompletionDocument
|
new VendorCompletionDocument
|
||||||
{
|
{
|
||||||
VendorId = vendor.Id, DispatchId = dispatch.Id, WorkOrderId = workOrder.Id,
|
VendorId = vendor.Id,
|
||||||
OriginalFileName = "photo.jpg", StoredFileName = "b.bin", ContentType = "image/jpeg",
|
DispatchId = dispatch.Id,
|
||||||
SizeBytes = 2048, ScanStatus = "Passed", ReviewStatus = "Approved", Purpose = "Completion", Version = 1
|
WorkOrderId = workOrder.Id,
|
||||||
|
OriginalFileName = "photo.jpg",
|
||||||
|
StoredFileName = "b.bin",
|
||||||
|
ContentType = "image/jpeg",
|
||||||
|
SizeBytes = 2048,
|
||||||
|
ScanStatus = "Passed",
|
||||||
|
ReviewStatus = "Approved",
|
||||||
|
Purpose = "Completion",
|
||||||
|
Version = 1
|
||||||
},
|
},
|
||||||
new VendorCompletionDocument
|
new VendorCompletionDocument
|
||||||
{
|
{
|
||||||
VendorId = vendor.Id, DispatchId = dispatch.Id, WorkOrderId = workOrder.Id,
|
VendorId = vendor.Id,
|
||||||
OriginalFileName = "old.pdf", StoredFileName = "c.bin", ContentType = "application/pdf",
|
DispatchId = dispatch.Id,
|
||||||
SizeBytes = 128, ScanStatus = "Passed", ReviewStatus = "Approved", Purpose = "Completion", Version = 1,
|
WorkOrderId = workOrder.Id,
|
||||||
|
OriginalFileName = "old.pdf",
|
||||||
|
StoredFileName = "c.bin",
|
||||||
|
ContentType = "application/pdf",
|
||||||
|
SizeBytes = 128,
|
||||||
|
ScanStatus = "Passed",
|
||||||
|
ReviewStatus = "Approved",
|
||||||
|
Purpose = "Completion",
|
||||||
|
Version = 1,
|
||||||
IsDeleted = true
|
IsDeleted = true
|
||||||
});
|
});
|
||||||
await context.SaveChangesAsync();
|
await context.SaveChangesAsync();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue