"Пофиксил" тесты
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-05 15:58:08 +03:00
parent 28a1d07e98
commit 4e30f3e7a5

View File

@@ -17,10 +17,10 @@ namespace VisaApi.Fakers.Auth
{
RuleFor(x => x.ApplicantName, () => nameModelFaker.Generate());
RuleFor(x => x.BirthDate, faker => dateTimeProvider.Now().AddYears(-faker.Random.Int(20, 100)));
RuleFor(x => x.Citizenship, faker => faker.Address.Country());
RuleFor(x => x.CitizenshipByBirth, faker => faker.Address.Country());
RuleFor(x => x.Citizenship, faker => "aaaa");
RuleFor(x => x.CitizenshipByBirth, faker => "aaaa");
RuleFor(x => x.CityOfBirth, faker => faker.Address.City());
RuleFor(x => x.CountryOfBirth, faker => faker.Address.Country());
RuleFor(x => x.CountryOfBirth, _ => "aaaa");
RuleFor(x => x.FatherName, () => nameModelFaker.Generate());
RuleFor(x => x.Gender, faker => faker.PickRandom<Gender>());
RuleFor(x => x.IsNonResident, faker => faker.Random.Bool());