Small fix for listing tasks

This commit is contained in:
2026-01-06 20:05:43 +01:00
parent a390509f87
commit 654305f2cd
27 changed files with 175 additions and 160 deletions

View File

@@ -150,6 +150,6 @@ public class GoodCasesTest {
public void assertRemoveWorkerActuallyRemoves() {
int workerId = manager.createWorker("Alfred");
manager.removeWorker(workerId);
assertThrows(IllegalArgumentException.class, () -> manager.getWorkerMap().containsKey(workerId));
assertThrows(IllegalArgumentException.class, () -> manager.getWorker(workerId)); // Use getWorker
}
}