directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: do not test disable user if ldapserver type is not openldap or apacheds
Date Thu, 08 Nov 2018 00:38:18 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 1dc73ed6f -> 0fe3739a2


do not test disable user if ldapserver type is not openldap or apacheds


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/0fe3739a
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/0fe3739a
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/0fe3739a

Branch: refs/heads/master
Commit: 0fe3739a258daa4634c29891462540084c7eb70d
Parents: 1dc73ed
Author: Shawn McKinney <smckinney@apache.org>
Authored: Wed Nov 7 15:52:35 2018 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Wed Nov 7 15:52:35 2018 -0600

----------------------------------------------------------------------
 .../directory/fortress/core/impl/FortressJUnitTest.java     | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/0fe3739a/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
b/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
index c09e41a..66f4268 100755
--- a/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
+++ b/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
@@ -127,7 +127,14 @@ public class FortressJUnitTest extends TestCase
             suite.addTest( new AdminMgrImplTest( "testDeletePermissionAttributeSets" ) );
             suite.addTest( new AdminMgrImplTest( "testDeassignUserRoleConstraints" ) );
             suite.addTest( new AdminMgrImplTest( "testDeassignUser" ) );
-            suite.addTest( new AdminMgrImplTest( "testDeleteUser" ) );
+
+
+            // Requires password policies:
+            if ( Config.getInstance().isOpenldap() || Config.getInstance().isApacheds() )
+            {
+                suite.addTest( new AdminMgrImplTest( "testDeleteUser" ) );
+            }
+
             suite.addTest( new AdminMgrImplTest( "testForceDeleteUser" ) );
             suite.addTest( new AdminMgrImplTest( "testDeleteSsdRoleMember" ) );
             suite.addTest( new AdminMgrImplTest( "testDeleteDsdRoleMember" ) );


Mime
View raw message