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/api/PasswordValidatorTestCase.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java
index e29f383..8d30918 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java
@@ -119,6 +119,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -176,6 +177,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -238,6 +240,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -294,6 +297,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -354,6 +358,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");
@@ -415,6 +420,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");
@@ -476,6 +482,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -553,6 +560,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -634,6 +642,7 @@
"givenName: Test",
"sn: User",
"cn: Test User",
+ "ds-privilege-name: bypass-acl",
"userPassword: password");
@@ -721,6 +730,7 @@
"sn: User",
"cn: Test User",
"userPassword: password",
+ "ds-privilege-name: bypass-acl",
"ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
"cn=Password Policies,cn=config");
@@ -804,6 +814,7 @@
"sn: User",
"cn: Test User",
"userPassword: password",
+ "ds-privilege-name: bypass-acl",
"ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
"cn=Password Policies,cn=config");
--
Gitblit v1.10.0