mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
This commit is contained in:
@@ -23,7 +23,7 @@ public class TestSecondQueryNoRows extends BaseTestCase {
|
||||
.setAutoTune(false)
|
||||
.setId(cnew.getId())
|
||||
.fetch("contacts", new FetchConfig().query())
|
||||
.findUnique();
|
||||
.findOne();
|
||||
|
||||
assertNotNull(c);
|
||||
assertEquals(0, c.getContacts().size());
|
||||
|
||||
Reference in New Issue
Block a user