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:
@@ -111,7 +111,7 @@ public class TestInheritInsert extends BaseTestCase {
|
||||
.eq("id", car.getId())
|
||||
.query();
|
||||
|
||||
Car result = query.findUnique();
|
||||
Car result = query.findOne();
|
||||
|
||||
assertThat(query.getGeneratedSql()).contains("order by t0.id, t2.location_code");
|
||||
assertThat(query.getGeneratedSql()).contains("left join car_fuse t2 on t2.id = t1.fuse_id");
|
||||
|
||||
Reference in New Issue
Block a user