mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-05-02 19:02:55 +08:00
Update FakeCreateAircraftCommand.cs
This commit is contained in:
parent
efc9ded1eb
commit
ab48a131ba
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user