diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-03-25 10:17:55 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-03-25 10:17:55 -0400 |
commit | 5f03e80712f7a18370b5118fde5327bde1b6fbbf (patch) | |
tree | 17ff94c8ba74ab2bfe6195cb6dc6ca06e71f2ea3 /ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java | |
parent | 9aa8a8e80caaad9196752e2e101525a584f35a08 (diff) | |
download | JellySolutions-5f03e80712f7a18370b5118fde5327bde1b6fbbf.tar.gz JellySolutions-5f03e80712f7a18370b5118fde5327bde1b6fbbf.tar.bz2 JellySolutions-5f03e80712f7a18370b5118fde5327bde1b6fbbf.zip |
Fix tests and more cleanup
Diffstat (limited to 'ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java')
-rw-r--r-- | ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java b/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java index 3d4637d..f4b5980 100644 --- a/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java +++ b/ufund-api/src/test/java/com/ufund/api/ufundapi/controller/AuthControllerTest.java @@ -8,7 +8,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.mockito.ArgumentMatchers.any; -import org.mockito.Mockito; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @@ -26,7 +25,7 @@ public class AuthControllerTest { private Map<String, String> authMap; @BeforeEach - private void setupAuthController() { + public void setupAuthController() { mockAuthService = mock(AuthService.class); authController = new AuthController(mockAuthService); @@ -76,7 +75,7 @@ public class AuthControllerTest { } @Test - public void testLogout() throws IllegalAccessException, IOException { + public void testLogout() { // Setup String key = "123"; @@ -88,7 +87,7 @@ public class AuthControllerTest { } @Test - public void testLogoutIOException() throws IllegalAccessException, IOException { + public void testLogoutIOException() throws IOException { // Setup String key = "123"; |