diff --git a/para-server/src/test/java/com/erudika/para/client/ParaIntegrationsIT.java b/para-server/src/test/java/com/erudika/para/client/ParaIntegrationsIT.java index 0fbdd934..e6e4d9df 100644 --- a/para-server/src/test/java/com/erudika/para/client/ParaIntegrationsIT.java +++ b/para-server/src/test/java/com/erudika/para/client/ParaIntegrationsIT.java @@ -1020,6 +1020,7 @@ public void testOwnersPermissions() throws InterruptedException { String emailPassFail = emailInactive + "::12345678"; String emailPassPass = "test3@user.com::12345678"; String emailPassPass2 = "test4@user.com::12345678"; + String emailPassPass3 = "TEST4@user.COM::12345678"; assertNull(pcc.signIn("password", emailPassFail)); // unverified email - user is created but not active List failed = pcc.findTerms(fbUser.getType(), Collections.singletonMap(Config._EMAIL, emailInactive), true); assertFalse(failed.isEmpty()); @@ -1034,6 +1035,8 @@ public void testOwnersPermissions() throws InterruptedException { pcc.signOut(); assertNotNull(pcc.signIn("password", emailPassPass)); pcc.signOut(); + assertNotNull(pcc.signIn("password", emailPassPass3)); // emails mustn't be case sensitive + pcc.signOut(); // test permissions with/without signed in user assertTrue(pcc.isAllowedTo(newUser.getId(), newUser.getObjectURI(), GET.toString()));