mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1233 - Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public class TestCacheNaturalId extends BaseTestCase {
|
||||
|
||||
ServerCache contactCache = Ebean.getServerCacheManager().getBeanCache(Contact.class);
|
||||
|
||||
List<Contact> list = Ebean.find(Contact.class).setBeanCacheMode(CacheMode.RECACHE).findList();
|
||||
List<Contact> list = Ebean.find(Contact.class).setBeanCacheMode(CacheMode.PUT).findList();
|
||||
|
||||
assertTrue(contactCache.size() > 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user