From ef7472507064725f7d1ac16e6b9ccdfa2f9fadea Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Fri, 23 Feb 2007 20:11:10 +0000
Subject: [PATCH] This change prepares the unit tests for when the ACI handler will get enabled by default. Most of the failing tests are fixed by adding bypass-acl privilege to the entries of the users the failing tests bind as.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
index 8145442..212f5fa 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
@@ -528,6 +528,7 @@
"objectClass: inetOrgPerson",
"cn: Test User",
"givenName: Test",
+ "ds-privilege-name: bypass-acl",
"sn: User");
InternalClientConnection conn =
@@ -580,6 +581,7 @@
"objectClass: inetOrgPerson",
"cn: Test User",
"givenName: Test",
+ "ds-privilege-name: bypass-acl",
"sn: User");
InternalClientConnection conn =
@@ -633,6 +635,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password",
"ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
"cn=Password Policies,cn=config");
@@ -681,6 +684,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password",
"ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
"cn=Password Policies,cn=config");
--
Gitblit v1.10.0