fix action error

This commit is contained in:
debuggerx01 2022-01-11 18:08:13 +08:00
parent d8dcfe8bef
commit abc1153076

View file

@ -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);
});
}