From 559804765b32be794607c409808dda392120c2fd Mon Sep 17 00:00:00 2001 From: ThompsonNye Date: Tue, 24 Jun 2025 19:43:44 +0200 Subject: [PATCH] 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 --- tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs b/tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs index c8533d6..c562d15 100644 --- a/tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs +++ b/tests/Vegasco.Server.Api.Tests.Integration/CarFaker.cs @@ -9,11 +9,11 @@ internal class CarFaker internal CreateCar.Request CreateCarRequest() { - return new CreateCar.Request(_faker.Vehicle.Model()); + return new CreateCar.Request(_faker.Person.FirstName); } internal UpdateCar.Request UpdateCarRequest() { - return new UpdateCar.Request(_faker.Vehicle.Model()); + return new UpdateCar.Request(_faker.Person.FirstName); } } \ No newline at end of file