mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-18 01:42:10 +08:00
23 lines
484 B
C#
23 lines
484 B
C#
namespace Integration.Test.Fakes;
|
|
|
|
using MassTransit;
|
|
using BookingPassenger;
|
|
|
|
public static class FakePassengerResponse
|
|
{
|
|
public static GetPassengerByIdResult Generate()
|
|
{
|
|
var result = new GetPassengerByIdResult
|
|
{
|
|
PassengerDto = new PassengerResponse()
|
|
{
|
|
Id = NewId.NextGuid().ToString(),
|
|
Name = "Test",
|
|
PassportNumber = "121618"
|
|
}
|
|
};
|
|
|
|
return result;
|
|
}
|
|
}
|