mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-15 22:04:05 +08:00
15 lines
375 B
C#
15 lines
375 B
C#
using AutoBogus;
|
|
using Flight.Flights.Features.CreateFlight;
|
|
|
|
namespace Integration.Test.Fakes;
|
|
|
|
public sealed class FakeCreateFlightCommand : AutoFaker<CreateFlightCommand>
|
|
{
|
|
public FakeCreateFlightCommand()
|
|
{
|
|
RuleFor(r => r.DepartureAirportId, _ => 1);
|
|
RuleFor(r => r.ArriveAirportId, _ => 2);
|
|
RuleFor(r => r.AircraftId, _ => 1);
|
|
}
|
|
}
|