]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/ManagedTest.java
Test initial user class.
[gigi.git] / tests / org / cacert / gigi / testUtils / ManagedTest.java
index 869d417a47b7b932795e3bb6d32e20f075345cb0..9b77f87c1e0ba64445394ce0267e67dd7fdc4252 100644 (file)
@@ -220,6 +220,20 @@ public class ManagedTest {
                        throw new Error(e);
                }
        }
+       /**
+        * Creates a new user with 100 Assurance points given by an (invalid)
+        * assurance.
+        * 
+        * @param firstName
+        *            the first name
+        * @param lastName
+        *            the last name
+        * @param email
+        *            the email
+        * @param password
+        *            the password
+        * @return a new userid.
+        */
        public int createAssuranceUser(String firstName, String lastName,
                        String email, String password) {
                int uid = createVerifiedUser(firstName, lastName, email, password);