Bug #847 - #911: Java OCA client does not hash the password, add new driver parameter for one.user.allocate

This commit is contained in:
Carlos Martín committed 2011-10-17 16:54:56 +02:00
1 parent 8d356a5841
commit 6b43690216
5 files changed
+27 -72

No files matched your search

-19
View File
@@ -37,25 +37,6 @@ public class SessionTest {
assertNotNull(oneClient);
}
@Test
public void wrong_token()
{
Client oneClient = null;
try
{
// The secret string should be user:password. The url is null, so it
// will be set to default.
oneClient = new Client("wrong_password_token",null);
}
catch (Exception e)
{
// System.out.println(e.getMessage());
}
assertNull("Client should complain about the wrong token", oneClient);
}
@Test
public void wrong_url()
{