mirror of
https://github.com/apache/archiva.git
synced 2025-02-08 02:59:43 +00:00
updated test methods names
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-security-fix@701968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
06eb606a68
commit
73914141ab
@ -186,7 +186,7 @@ public void testIsAuthorizedUserHasNoReadAccess()
|
||||
}
|
||||
}
|
||||
|
||||
public void testIsAuthorizedGustUserHasWriteAccess()
|
||||
public void testIsAuthorizedGuestUserHasWriteAccess()
|
||||
throws Exception
|
||||
{
|
||||
assignRepositoryManagerRole( USER_GUEST, "corporate" );
|
||||
@ -195,7 +195,7 @@ public void testIsAuthorizedGustUserHasWriteAccess()
|
||||
assertTrue( isAuthorized );
|
||||
}
|
||||
|
||||
public void testIsAuthorizedGustUserHasNoWriteAccess()
|
||||
public void testIsAuthorizedGuestUserHasNoWriteAccess()
|
||||
throws Exception
|
||||
{
|
||||
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
||||
@ -204,7 +204,7 @@ public void testIsAuthorizedGustUserHasNoWriteAccess()
|
||||
assertFalse( isAuthorized );
|
||||
}
|
||||
|
||||
public void testIsAuthorizedGustUserHasReadAccess()
|
||||
public void testIsAuthorizedGuestUserHasReadAccess()
|
||||
throws Exception
|
||||
{
|
||||
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
||||
@ -214,7 +214,7 @@ public void testIsAuthorizedGustUserHasReadAccess()
|
||||
assertTrue( isAuthorized );
|
||||
}
|
||||
|
||||
public void testIsAuthorizedGustUserHasNoReadAccess()
|
||||
public void testIsAuthorizedGuestUserHasNoReadAccess()
|
||||
throws Exception
|
||||
{
|
||||
boolean isAuthorized = servletAuth.isAuthorized( USER_GUEST, "corporate", false );
|
||||
|
Loading…
x
Reference in New Issue
Block a user