Skip to content
  • Misagh Moayyed's avatar
    CAS-1156: Reduced branching logic using commons API to use... · 9a3aade8
    Misagh Moayyed authored
    CAS-1156: Reduced branching logic using commons API to use toInteger(bool,int,int). Also added logging to ehcache tests.
    
    Additionally, I had to modify the test resources a bit for ehcache to allow for the surefire plugin's forkmode. Without this setting, two particular tests would always fail when attempting to delete tickets when running the test from cas-server root.
    
    The two tests that fail without the forkMode setting are:
    
    testDeleteExistingTicket(org.jasig.cas.ticket.registry.EhCacheTicketRegistryTests):
    testDeleteNonExistingTicket(org.jasig.cas.ticket.registry.EhCacheTicketRegistryTests):
    9a3aade8