All checks were successful
continuous-integration/drone/push Build is passing
And update all references including comments etc.
19 lines
384 B
C#
19 lines
384 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.Vehicle.Model());
|
|
}
|
|
|
|
internal UpdateCar.Request UpdateCarRequest()
|
|
{
|
|
return new UpdateCar.Request(_faker.Vehicle.Model());
|
|
}
|
|
} |