Some checks failed
continuous-integration/drone/push Build is failing
Vehicle models seems to have a high enough probability that it sometimes fails
19 lines
386 B
C#
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);
|
|
}
|
|
} |