Files
vegasco/tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs
ThompsonNye 559804765b
Some checks failed
continuous-integration/drone/push Build is failing
Use persons' first names for mock data to reduce chance of conflicts
Vehicle models seems to have a high enough probability that it sometimes
fails
2025-06-24 19:43:44 +02:00

19 lines
386 B
C#

using Bogus;
using Vegasco.Server.Api.Cars;
namespace Vegasco.Server.Api.Tests.Integration;
internal class CarFaker
{
private readonly Faker _faker = new();
internal CreateCar.Request CreateCarRequest()
{
return new CreateCar.Request(_faker.Person.FirstName);
}
internal UpdateCar.Request UpdateCarRequest()
{
return new UpdateCar.Request(_faker.Person.FirstName);
}
}