This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.jcr.repoinit-1.1.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-repoinit.git
commit 9afa129168647d3640459da095bd79160fcabb8b Author: Carsten Ziegeler <[email protected]> AuthorDate: Tue Nov 8 06:15:26 2016 +0000 SLING-6219 - reponit grammar support for create/delete user git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/repoinit@1768631 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/jcr/repoinit/CreateUsersTest.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/java/org/apache/sling/jcr/repoinit/CreateUsersTest.java b/src/test/java/org/apache/sling/jcr/repoinit/CreateUsersTest.java index 30d6b40..6574372 100644 --- a/src/test/java/org/apache/sling/jcr/repoinit/CreateUsersTest.java +++ b/src/test/java/org/apache/sling/jcr/repoinit/CreateUsersTest.java @@ -53,6 +53,16 @@ public class CreateUsersTest { U.assertUser("after deleting user", userId, false); } + @Test + public void createDeleteSingleWithPasswordTest() throws Exception { + final String userId = namePrefix + "_cdstpw"; + U.assertUser("at start of test", userId, false); + U.parseAndExecute("create user " + userId + " with password mypw"); + U.assertUser("after creating user", userId, true); + U.parseAndExecute("delete user " + userId); + U.assertUser("after deleting user", userId, false); + } + private String user(int index) { return namePrefix + "_" + index; } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
