]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 22 Jan 2023 03:50:17 +0000 (04:50 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 22 Jan 2023 03:50:17 +0000 (04:50 +0100)
- fixed some issues reported by Netbeans' inspector

test/org/mxchange/jusercore/model/user/LoginUserTest.java
test/org/mxchange/jusercore/model/utils/UserUtilsTest.java

index efa6ebaaf20d271b1e6538282fa9a46d9f06d7b0..7eb3d54208db15df4a28fda763dc735138a31a4e 100644 (file)
@@ -514,7 +514,7 @@ public class LoginUserTest {
        @Test (description = "Tests method User.equals() with same User instance", dataProvider = "one-user-provider")
        public void testUserEqualsNullUserInstance (final User user) {
                // Should always be false
-               Assert.assertFalse(user.equals(null));
+               Assert.assertFalse(user == null);
        }
 
        @Test (description = "Tests method User.equals() with same User instance", dataProvider = "one-user-provider")
index ae2f39d3f0ae9160ec52aefcb69ab879bd323582..32774f4de3d0b0b4b048b1ef123ab2c612626757 100644 (file)
@@ -615,7 +615,7 @@ public class UserUtilsTest {
                contact.setContactHouseNumber(UserTestData.CONTACT_HOUSE_NUMBER);
                contact.setContactHouseNumberExtension("a"); //NOI18N
                contact.setContactCity("Chicago"); //NOI18N
-               contact.setContactZipCode(12345);
+               contact.setContactZipCode(12_345);
                contact.setContactBirthday(new Date());
                contact.setContactEmailAddress("bob@company.com"); //NOI18N
                contact.setContactEntryUpdated(new Date());