mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix test TestLazyLoadMany with orderBy on query
This commit is contained in:
@@ -18,6 +18,7 @@ class TestLazyLoadMany extends BaseTestCase {
|
||||
}
|
||||
return m0;
|
||||
}
|
||||
|
||||
@Test
|
||||
void loadAfterPCCleared() {
|
||||
|
||||
@@ -31,6 +32,7 @@ class TestLazyLoadMany extends BaseTestCase {
|
||||
List<COOne> children = DB.find(COOne.class)
|
||||
.setLazyLoadBatchSize(2)
|
||||
.where().startsWith("name", "tll-m")
|
||||
.orderBy("name")
|
||||
.findList();
|
||||
|
||||
assertThat(children).hasSize(3);
|
||||
|
||||
Reference in New Issue
Block a user