mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-28 00:20:24 +08:00
16 lines
473 B
C#
16 lines
473 B
C#
using AutoBogus;
|
|
using Identity.Identity.Features.RegisterNewUser.Commands.V1;
|
|
|
|
namespace Integration.Test.Fakes;
|
|
|
|
public class FakeRegisterNewUserCommand : AutoFaker<RegisterNewUserCommand>
|
|
{
|
|
public FakeRegisterNewUserCommand()
|
|
{
|
|
RuleFor(r => r.Username, x => "TestMyUser");
|
|
RuleFor(r => r.Password, _ => "Password@123");
|
|
RuleFor(r => r.ConfirmPassword, _ => "Password@123");
|
|
RuleFor(r => r.Email, _ => "test@test.com");
|
|
}
|
|
}
|