From bc804bedbc6913ee248a4fb043bbe7d402216477 Mon Sep 17 00:00:00 2001 From: Rasmus Neikes Date: Sat, 7 Dec 2024 14:54:23 +0100 Subject: [PATCH] restructures code into a more sensible path structure --- .../com/stktrk/app/application/profile/ProfileController.java | 2 +- src/test/java/com/stktrk/app/utils/EncryptIdTest.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/stktrk/app/application/profile/ProfileController.java b/src/main/java/com/stktrk/app/application/profile/ProfileController.java index cb65d97..907215a 100644 --- a/src/main/java/com/stktrk/app/application/profile/ProfileController.java +++ b/src/main/java/com/stktrk/app/application/profile/ProfileController.java @@ -31,7 +31,7 @@ public class ProfileController { // TODO figure out how to handle the exception. @Nonnull @GetMapping("/") - public List findAll() throws InvalidKeyException { + public List findAll() { return profileService.findAll(); } diff --git a/src/test/java/com/stktrk/app/utils/EncryptIdTest.java b/src/test/java/com/stktrk/app/utils/EncryptIdTest.java index 80b1d92..190e4a1 100644 --- a/src/test/java/com/stktrk/app/utils/EncryptIdTest.java +++ b/src/test/java/com/stktrk/app/utils/EncryptIdTest.java @@ -6,8 +6,6 @@ import org.junit.jupiter.api.Test; import java.security.InvalidKeyException; -import static org.junit.Assert.assertEquals; - class EncryptIdTest {