fix action error
This commit is contained in:
parent
d8dcfe8bef
commit
abc1153076
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ void joinTests(FutureOr<QueryExecutor> Function() createExecutor,
|
|||
|
||||
test('select orders with multi order by fields', () async {
|
||||
var query = PersonOrderQuery();
|
||||
query.orderBy(PersonOrderFields.personId, descending: true);
|
||||
query.orderBy(PersonOrderFields.id, descending: true);
|
||||
query.orderBy(PersonOrderFields.personId, descending: true);
|
||||
var orders = await query.get(executor);
|
||||
expect(orders.first.personId! > orders.last.personId!, true);
|
||||
expect(orders.first.idAsInt > orders.last.idAsInt, true);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue