diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-05-22 17:12:38 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-05-22 17:12:42 -0500 |
commit | 2607c2b2cd427616a8f869c809aff19453212f14 (patch) | |
tree | a23f8ec3390c87c4dd447b4bb6e72c5e26bb0dd1 /auth/auth-deforg/src/test/java | |
parent | 467b962cbf1c78bf617f2dac70096b61f4af5003 (diff) |
Fix Password Add
Issue-ID: AAF-319
Change-Id: I31417b6f57b8d5646c739f14affb2f272d6cd0f2
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-deforg/src/test/java')
-rw-r--r-- | auth/auth-deforg/src/test/java/org/onap/aaf/org/test/JU_DefaultOrg.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/auth/auth-deforg/src/test/java/org/onap/aaf/org/test/JU_DefaultOrg.java b/auth/auth-deforg/src/test/java/org/onap/aaf/org/test/JU_DefaultOrg.java index 9120ceb2..e1bfda5b 100644 --- a/auth/auth-deforg/src/test/java/org/onap/aaf/org/test/JU_DefaultOrg.java +++ b/auth/auth-deforg/src/test/java/org/onap/aaf/org/test/JU_DefaultOrg.java @@ -145,7 +145,13 @@ public class JU_DefaultOrg { assertEquals(response.name(), "OK"); } - + + @Test + public void testDefOrgPasswords() { + assertEquals(defaultOrg.isValidPassword(authzTransMock, null, "new2You!", "Pilgrim"),""); + assertNotSame(defaultOrg.isValidPassword(authzTransMock, null, "new2you!", "Pilgrim"),""); + + } @Test public void testDefOrgNotifyPasswordExpiration_returnResponseOK() { |