mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#704 - Update tests for 704 removing the use of Query.setUseCache(true) which is redundant
This commit is contained in:
@@ -30,14 +30,6 @@ public class TestCacheInterceptSaveWhenLazyLoaded extends BaseTestCase {
|
||||
.where().eq("id", order.getId())
|
||||
.findUnique();
|
||||
|
||||
// QueryIterator<Order> iterate = Ebean.find(Order.class)
|
||||
// //.setUseCache(true)
|
||||
// .where().eq("id", order.getId())
|
||||
// .findIterate();
|
||||
//
|
||||
// iterate.hasNext();
|
||||
// Order foundOrder = iterate.next();
|
||||
|
||||
foundOrder.setStatus(Order.Status.APPROVED);
|
||||
assertTrue(Ebean.getBeanState(foundOrder).isDirty());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user