aboutsummaryrefslogtreecommitdiff
path: root/ufund-api/src/test
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-03 17:08:34 -0500
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-03 17:08:34 -0500
commit4a6c06f669a62c84ed59c52397e2b0632e8f7f5d (patch)
tree972327ff078ffca6e3992f9aaf17e7ebb0417258 /ufund-api/src/test
parent3e4864cd69cfebffc9d06e9e7645ed019a99be73 (diff)
downloadJellySolutions-4a6c06f669a62c84ed59c52397e2b0632e8f7f5d.tar.gz
JellySolutions-4a6c06f669a62c84ed59c52397e2b0632e8f7f5d.tar.bz2
JellySolutions-4a6c06f669a62c84ed59c52397e2b0632e8f7f5d.zip
Fixed semicolon error
Diffstat (limited to 'ufund-api/src/test')
-rw-r--r--ufund-api/src/test/java/com/ufund/api/ufundapi/controller/CupboardControllerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/CupboardControllerTest.java b/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/CupboardControllerTest.java
index c9b0c5e..3702581 100644
--- a/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/CupboardControllerTest.java
+++ b/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/CupboardControllerTest.java
@@ -129,9 +129,9 @@ public class CupboardControllerTest {
}
@Test
- public void getNeed() {
+ public void getNeedIOException() {
var need = new Need("Name", 1, 100, Need.GoalType.MONETARY);
- when(mockCupboardDAO.getNeed(need.getId())).thenThrow(new IOException())
+ when(mockCupboardDAO.getNeed(need.getId())).thenThrow(new IOException());
var res = cupboardController.getNeed(need.getId());