This commit is contained in:
Matthias Engelien
2024-09-16 10:58:30 +02:00
parent 0a7559b94f
commit 856523fba6
3 changed files with 31 additions and 30 deletions

View File

@@ -29,10 +29,9 @@ class GarageAppointmentAppTests {
Optional<Garage> testGarage = garageRepository.findByCode("test-data");
assertNotNull(testGarage.get(), "Garage should not be null");
assertEquals("Test Autohaus", testGarage.get().name());
assertTrue(testGarage.get().appointments().size() == 19, "Test Autohaus should have 19 appointments");
assertTrue(testGarage.get().appointments().size() == 18, "Test Autohaus should have 19 appointments");
assertTrue(testGarage.get().garageServices().size() == 3, "Test Autohaus should have 3 services");
}