Remove ContractType and CertificationType properties
Removed the `ContractType` and `CertificationType` properties from the `EnvelopeClientDto` class in `EnvelopeReceiverDto.cs` as they are no longer needed. Updated the `Extensions` class in `Fake.cs` to remove references to these properties, including their initialization logic.
This commit is contained in:
@@ -40,8 +40,6 @@ public record EnvelopeClientDto
|
|||||||
public string Language { get; init; } = "de-DE";
|
public string Language { get; init; } = "de-DE";
|
||||||
public int? EnvelopeTypeId { get; init; }
|
public int? EnvelopeTypeId { get; init; }
|
||||||
public string? EnvelopeTypeTitle { get; init; }
|
public string? EnvelopeTypeTitle { get; init; }
|
||||||
public int? ContractType { get; init; }
|
|
||||||
public int? CertificationType { get; init; }
|
|
||||||
public bool UseAccessCode { get; init; }
|
public bool UseAccessCode { get; init; }
|
||||||
public bool TFAEnabled { get; init; }
|
public bool TFAEnabled { get; init; }
|
||||||
public IEnumerable<DocumentClientDto>? Documents { get; init; }
|
public IEnumerable<DocumentClientDto>? Documents { get; init; }
|
||||||
|
|||||||
@@ -215,9 +215,7 @@ public static class Extensions
|
|||||||
Message = faker.Lorem.Paragraph(faker.Random.Number(2, 5)),
|
Message = faker.Lorem.Paragraph(faker.Random.Number(2, 5)),
|
||||||
TfaEnabled = tfaEnabled,
|
TfaEnabled = tfaEnabled,
|
||||||
AddedWhen = DateTime.Now,
|
AddedWhen = DateTime.Now,
|
||||||
CertificationType = CertificationType.AdvancedElectronicSignature,
|
|
||||||
UseAccessCode = false,
|
UseAccessCode = false,
|
||||||
ContractType = (int)ContractType.Contract,
|
|
||||||
Language = "de",
|
Language = "de",
|
||||||
SendReminderEmails = false,
|
SendReminderEmails = false,
|
||||||
Comment = faker.Lorem.Sentence(10),
|
Comment = faker.Lorem.Sentence(10),
|
||||||
|
|||||||
Reference in New Issue
Block a user