#1114 - Deprecate findUnique() - please migrate to findOne() - update tests

This commit is contained in:
rob bygrave
2017-09-08 22:48:46 +12:00
parent 2470486f20
commit 8c0232fdb8
67 changed files with 128 additions and 128 deletions
@@ -49,12 +49,12 @@ public class TestBatchLazyWithCacheHits extends BaseTestCase {
UUOne c = Ebean.find(UUOne.class)
.where().idEq(inserted.get(2).getId())
.findUnique();
.findOne();
assertNotNull(c);
UUOne c2 = Ebean.find(UUOne.class)
.where().idEq(inserted.get(2).getId())
.findUnique();
.findOne();
assertNotNull(c2);
statistics = beanCache.getStatistics(true);
assertEquals(statistics.getHitCount(), 1);