Refactor ACL database tables.
This commit is contained in:
parent
13d5a2dbca
commit
f7b491b699
|
@ -150,15 +150,6 @@ public class BasicAclProviderTests extends TestCase {
|
|||
assertEquals("ROLE_SUPERVISOR", ((BasicAclEntry) acls[1]).getRecipient());
|
||||
}
|
||||
|
||||
public void testGetAclsForInstanceWithoutParent() throws Exception {
|
||||
BasicAclProvider provider = new BasicAclProvider();
|
||||
provider.setBasicAclDao(makePopulatedJdbcDao());
|
||||
|
||||
Object object = new MockDomain(7);
|
||||
AclEntry[] acls = provider.getAcls(object);
|
||||
assertEquals(1, acls.length);
|
||||
}
|
||||
|
||||
public void testGetAclsWithAuthentication() throws Exception {
|
||||
BasicAclProvider provider = new BasicAclProvider();
|
||||
provider.setBasicAclDao(makePopulatedJdbcDao());
|
||||
|
|
Loading…
Reference in New Issue