mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-28 16:52:47 +08:00
15 lines
383 B
C#
15 lines
383 B
C#
using AutoBogus;
|
|
using BuildingBlocks.IdsGenerator;
|
|
using Flight.Airports.Features.CreateAirport;
|
|
using Flight.Airports.Features.CreateAirport.Commands.V1;
|
|
|
|
namespace Integration.Test.Fakes;
|
|
|
|
public class FakeCreateAirportCommand : AutoFaker<CreateAirportCommand>
|
|
{
|
|
public FakeCreateAirportCommand()
|
|
{
|
|
RuleFor(r => r.Id, _ => SnowFlakIdGenerator.NewId());
|
|
}
|
|
}
|