Fix other view test

This commit is contained in:
Simon Binder 2023-12-14 00:11:24 +01:00
parent ac627b1a10
commit 5e51fbc1fc
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 2 additions and 2 deletions

View File

@ -78,13 +78,13 @@ abstract class TodoItemWithCategoryNameView extends View {
isA<DartViewSource>().having(
(e) => e.dartQuerySource.toString(),
'dartQuerySource',
'.join([ innerJoin(todoItems,todoItems.categoryId.equalsExp(todoCategories.id)) ])'));
'.join([innerJoin(todoItems,todoItems.categoryId.equalsExp(todoCategories.id))])'));
expect(
todoItemWithCategoryName.source,
isA<DartViewSource>().having(
(e) => e.dartQuerySource.toString(),
'dartQuerySource',
'.join([ innerJoin(todoCategories,todoCategories.id.equalsExp(todoItems.categoryId)) ])'));
'.join([innerJoin(todoCategories,todoCategories.id.equalsExp(todoItems.categoryId))])'));
expect(todoCategoryItemCount.columns, hasLength(2));
expect(
todoCategoryItemCount.columns[0],