mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
@@ -24,7 +24,7 @@ public class TestAddOrderByWithFirstRowsMaxRows extends BaseTestCase {
|
||||
|
||||
LoggedSqlCollector.start();
|
||||
|
||||
List<Order> list = Ebean.find(Order.class)
|
||||
Ebean.find(Order.class)
|
||||
.setFirstRow(3)
|
||||
.orderBy().asc("id")
|
||||
.findList();
|
||||
@@ -33,7 +33,6 @@ public class TestAddOrderByWithFirstRowsMaxRows extends BaseTestCase {
|
||||
|
||||
assertThat(loggedSql).hasSize(1);
|
||||
assertThat(loggedSql.get(0)).contains("order by t0.id");
|
||||
assertThat(list).isNotEmpty();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user