CleanUp
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user