tests and fixes

This commit is contained in:
2025-05-11 18:28:33 +03:00
parent 6ab5b9f1df
commit 07f5663c75
8 changed files with 120 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ public sealed class ApplicantFaker : Faker<Applicant>
=> new Passport
{
Issuer = f.Company.CompanyName(),
Number = f.Random.String(ConfigurationConstraints.PasswordLength, 'a', 'z'),
Number = f.Random.String(ConfigurationConstraints.PassportNumberLength, 'a', 'z'),
ExpirationDate = f.Date.Future(4, dateTimeProvider.Now()),
IssueDate = f.Date.Past(4, dateTimeProvider.Now())
});
@@ -62,4 +62,4 @@ public sealed class ApplicantFaker : Faker<Applicant>
PhoneNum = f.Phone.PhoneNumber()
});
}
}
}