continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r307099 - /maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java
Date Fri, 07 Oct 2005 12:26:01 GMT
Author: evenisse
Date: Fri Oct  7 05:25:58 2005
New Revision: 307099

URL: http://svn.apache.org/viewcvs?rev=307099&view=rev
Log:
Fix tests due to default guest permissions changes

Modified:
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java?rev=307099&r1=307098&r2=307099&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/security/DefaultContinuumSecurityTest.java
Fri Oct  7 05:25:58 2005
@@ -47,7 +47,9 @@
 
         assertEquals( "guest", guest.getUsername() );
 
-        assertTrue( secu.isAuthorized( guest, "addProject") );
+        assertTrue( secu.isAuthorized( guest, "showProject") );
+
+        assertFalse( secu.isAuthorized( guest, "addProject") );
 
         assertFalse( secu.isAuthorized( guest, "manageUsers") );
     }



Mime
View raw message