diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-02-27 13:02:35 -0500 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-02-27 13:02:35 -0500 |
commit | f33629005913a2f2d6814c9a8686989278f38bb0 (patch) | |
tree | b30d81695e818256837220e9ef356a130eed8ca0 /ufund-api/src/test/java | |
parent | 708bfd1ac3be6a7032875240157b71f7eaeed6af (diff) | |
download | JellySolutions-f33629005913a2f2d6814c9a8686989278f38bb0.tar.gz JellySolutions-f33629005913a2f2d6814c9a8686989278f38bb0.tar.bz2 JellySolutions-f33629005913a2f2d6814c9a8686989278f38bb0.zip |
Updated formatting and added Model tier tag
Diffstat (limited to 'ufund-api/src/test/java')
-rw-r--r-- | ufund-api/src/test/java/com/ufund/api/ufundapi/model/UserTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ufund-api/src/test/java/com/ufund/api/ufundapi/model/UserTest.java b/ufund-api/src/test/java/com/ufund/api/ufundapi/model/UserTest.java index 1b4f804..8b8dd99 100644 --- a/ufund-api/src/test/java/com/ufund/api/ufundapi/model/UserTest.java +++ b/ufund-api/src/test/java/com/ufund/api/ufundapi/model/UserTest.java @@ -2,11 +2,12 @@ package com.ufund.api.ufundapi.model; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; - +@Tag("Model-tier") public class UserTest { - + @Test public void createUser() { @@ -15,7 +16,7 @@ public class UserTest { User user = new User(name); assertNotNull(user); - + } @Test @@ -36,7 +37,7 @@ public class UserTest { User user = new User(expectedName); Need need = new Need("Test", 0, 100, Need.GoalType.MONETARY); - Need[] needs = {need}; + Need[] needs = { need }; user.addToBasket(need); @@ -44,5 +45,4 @@ public class UserTest { } - } |