Update FakeCreateAircraftCommand.cs

This commit is contained in:
Meysam Hadeli 2023-06-02 17:02:17 +03:30 committed by GitHub
parent efc9ded1eb
commit ab48a131ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
using AutoBogus; using AutoBogus;
namespace Integration.Test.Fakes; namespace Integration.Test.Fakes;
@ -10,5 +10,6 @@ public class FakeCreateAircraftCommand : AutoFaker<CreateAircraft>
public FakeCreateAircraftCommand() public FakeCreateAircraftCommand()
{ {
RuleFor(r => r.Id, _ => NewId.NextGuid()); RuleFor(r => r.Id, _ => NewId.NextGuid());
RuleFor(r => r.ManufacturingYear, _ => 2000);
} }
} }