Demonstrate failing Jenkins check (refs #9)
smartpark-app-ci/pipeline/pr-main There was a failure building this commit
smartpark-app-ci/pipeline/pr-main There was a failure building this commit
This commit is contained in:
@@ -18,7 +18,7 @@ public final class ParkingLotTest {
|
|||||||
check(lot.getCapacity() == 120, "capacity");
|
check(lot.getCapacity() == 120, "capacity");
|
||||||
check(lot.getOccupiedSpaces() == 78, "initial occupied spaces");
|
check(lot.getOccupiedSpaces() == 78, "initial occupied spaces");
|
||||||
lot.vehicleEnters();
|
lot.vehicleEnters();
|
||||||
check(lot.getAvailableSpaces() == 41, "arrival decreases availability");
|
check(lot.getAvailableSpaces() == 40, "arrival decreases availability");
|
||||||
lot.vehicleLeaves();
|
lot.vehicleLeaves();
|
||||||
check(lot.getAvailableSpaces() == 42, "departure restores availability");
|
check(lot.getAvailableSpaces() == 42, "departure restores availability");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user