mirror of https://github.com/apache/archiva.git
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 class ArchivaServletAuthenticatorTest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testIsAuthorizedGustUserHasWriteAccess()
|
public void testIsAuthorizedGuestUserHasWriteAccess()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
assignRepositoryManagerRole( USER_GUEST, "corporate" );
|
assignRepositoryManagerRole( USER_GUEST, "corporate" );
|
||||||
|
@ -195,7 +195,7 @@ public class ArchivaServletAuthenticatorTest
|
||||||
assertTrue( isAuthorized );
|
assertTrue( isAuthorized );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testIsAuthorizedGustUserHasNoWriteAccess()
|
public void testIsAuthorizedGuestUserHasNoWriteAccess()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
||||||
|
@ -204,7 +204,7 @@ public class ArchivaServletAuthenticatorTest
|
||||||
assertFalse( isAuthorized );
|
assertFalse( isAuthorized );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testIsAuthorizedGustUserHasReadAccess()
|
public void testIsAuthorizedGuestUserHasReadAccess()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
assignRepositoryObserverRole( USER_GUEST, "corporate" );
|
||||||
|
@ -214,7 +214,7 @@ public class ArchivaServletAuthenticatorTest
|
||||||
assertTrue( isAuthorized );
|
assertTrue( isAuthorized );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testIsAuthorizedGustUserHasNoReadAccess()
|
public void testIsAuthorizedGuestUserHasNoReadAccess()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
boolean isAuthorized = servletAuth.isAuthorized( USER_GUEST, "corporate", false );
|
boolean isAuthorized = servletAuth.isAuthorized( USER_GUEST, "corporate", false );
|
||||||
|
|
Loading…
Reference in New Issue