summaryrefslogtreecommitdiff
path: root/internal/store/sqlite_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/store/sqlite_test.go')
-rw-r--r--internal/store/sqlite_test.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/store/sqlite_test.go b/internal/store/sqlite_test.go
index 7027cbe..5719e24 100644
--- a/internal/store/sqlite_test.go
+++ b/internal/store/sqlite_test.go
@@ -543,13 +543,13 @@ func TestGetCardsByDateRange(t *testing.T) {
// Create cards
_, err = store.db.Exec(`
- INSERT INTO cards (id, name, board_id, due_date)
- VALUES
- (?, ?, ?, ?),
- (?, ?, ?, ?)
- `,
- "card1", "Card 1", "board1", now,
- "card2", "Card 2", "board1", tomorrow)
+ INSERT INTO cards (id, name, board_id, list_id, list_name, due_date, url)
+ VALUES
+ (?, ?, ?, ?, ?, ?, ?),
+ (?, ?, ?, ?, ?, ?, ?)
+ `,
+ "card1", "Card 1", "board1", "list1", "To Do", now, "https://trello.com/c/card1",
+ "card2", "Card 2", "board1", "list1", "To Do", tomorrow, "https://trello.com/c/card2")
if err != nil {
t.Fatalf("Failed to insert cards: %v", err)
}