From 4fe95bc01a045ffb0271b89dfad5d63951ee9b53 Mon Sep 17 00:00:00 2001 From: westito Date: Thu, 2 Dec 2021 20:24:46 +0100 Subject: [PATCH] Fix view schema test --- drift/test/schema_test.dart | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drift/test/schema_test.dart b/drift/test/schema_test.dart index d641bb64..cee45c10 100644 --- a/drift/test/schema_test.dart +++ b/drift/test/schema_test.dart @@ -67,10 +67,6 @@ void main() { verify(mockExecutor.runCustom( 'CREATE VIEW category_todo_count_view AS SELECT ' - 'todos.id AS "todos.id", todos.title AS "todos.title", ' - 'todos.content AS "todos.content", ' - 'todos.target_date AS "todos.target_date", ' - 'todos.category AS "todos.category", ' 'categories."desc" AS "categories.desc", ' 'COUNT(todos.id) AS "item_count" ' 'FROM categories ' @@ -80,11 +76,6 @@ void main() { verify(mockExecutor.runCustom( 'CREATE VIEW todo_with_category_view AS SELECT ' - 'categories.id AS "categories.id", ' - 'categories."desc" AS "categories.desc", ' - 'categories.priority AS "categories.priority", ' - 'categories.description_in_upper_case ' - 'AS "categories.description_in_upper_case", ' 'todos.title AS "todos.title", ' 'categories."desc" AS "categories.desc" ' 'FROM todos '