Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 80905 invoked from network); 24 Feb 2009 11:51:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 11:51:23 -0000 Received: (qmail 31254 invoked by uid 500); 24 Feb 2009 11:51:22 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 31208 invoked by uid 500); 24 Feb 2009 11:51:22 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 31196 invoked by uid 99); 24 Feb 2009 11:51:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 03:51:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 11:51:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 693FC2388888; Tue, 24 Feb 2009 11:51:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r747353 - /portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java Date: Tue, 24 Feb 2009 11:51:01 -0000 To: jetspeed-dev@portals.apache.org From: ddam@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090224115101.693FC2388888@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ddam Date: Tue Feb 24 11:51:00 2009 New Revision: 747353 URL: http://svn.apache.org/viewvc?rev=747353&view=rev Log: fix broken test Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java?rev=747353&r1=747352&r2=747353&view=diff ============================================================================== --- portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java (original) +++ portals/jetspeed-2/portal/branches/JETSPEED-2.2-PRE-PLUTO-2-SNAPSHOT/components/jetspeed-security/src/test/java/org/apache/jetspeed/security/mapping/ldap/setup1/UserTests.java Tue Feb 24 11:51:00 2009 @@ -19,6 +19,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; +import java.util.Collections; import org.apache.jetspeed.security.mapping.model.Entity; import org.apache.jetspeed.security.mapping.model.impl.EntityImpl; @@ -171,6 +172,7 @@ sampleRole.setInternalId("cn=Role1, o=sevenSeas"); sampleRole.setAttribute(DESCRIPTION_ATTR_DEF.getName(), "Role 1"); sampleRole.setAttribute(CN_DEF.getName(), "Role1"); + sampleRole.setAttribute(UNIQUEMEMBER_ATTR_DEF.getName(), Collections.EMPTY_LIST ); // note: we call the user DAO directly, because updating internal // attributes is only meant to be used internally, e.g. from within an EntityRelationDAO --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org