fix tests

This commit is contained in:
Salvatore Giordano
2021-04-30 14:59:54 +02:00
parent 3283f008eb
commit 0d12e701a0
6 changed files with 25 additions and 15 deletions
@@ -168,7 +168,12 @@ void main() {
// Should match with the inserted channels
final updatedChannels = await channelQueryDao.getChannels(
filter: filter,
sort: [SortOption('member_count', comparator: sortComparator)],
sort: [
SortOption(
'member_count',
comparator: sortComparator,
)
],
);
expect(updatedChannels.length, insertedChannels.length);