Prechádzať zdrojové kódy

Increase test coverage.

Ben Alex 21 rokov pred
rodič
commit
b4a0e45e76

+ 1 - 0
core/src/test/java/org/acegisecurity/providers/cas/cache/EhCacheBasedTicketCacheTests.java

@@ -56,6 +56,7 @@ public class EhCacheBasedTicketCacheTests extends TestCase {
     public void testCacheOperation() throws Exception {
         EhCacheBasedTicketCache cache = new EhCacheBasedTicketCache();
         cache.afterPropertiesSet();
+        cache.afterPropertiesSet(); // second run for test coverage
 
         // Check it gets stored in the cache
         cache.putTicketInCache(getToken());