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

+4 -2
View File
@@ -63,8 +63,10 @@ public class UserTest
{
res = User.allocate(client, name, password);
int uid = res.isError() ? -1 : Integer.parseInt(res.getMessage());
user = new User(uid, client);
assertTrue( res.getErrorMessage(), !res.isError() );
int uid = Integer.parseInt(res.getMessage());
user = new User(uid, client);
}
/**