mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 02:20:20 +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;
|
||||
|
||||
@ -10,5 +10,6 @@ public class FakeCreateAircraftCommand : AutoFaker<CreateAircraft>
|
||||
public FakeCreateAircraftCommand()
|
||||
{
|
||||
RuleFor(r => r.Id, _ => NewId.NextGuid());
|
||||
RuleFor(r => r.ManufacturingYear, _ => 2000);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user