test(08-01): add failing tests for candidate status field

- 5 tests: create with/without status, update status, getThreadWithCandidates includes status
- Test helper updated with status column in thread_candidates CREATE TABLE

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 14:07:51 +01:00
parent 9e1a875581
commit 9342085dd1
2 changed files with 82 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ export function createTestDb() {
notes TEXT,
product_url TEXT,
image_filename TEXT,
status TEXT NOT NULL DEFAULT 'researching',
created_at INTEGER NOT NULL DEFAULT (unixepoch()),
updated_at INTEGER NOT NULL DEFAULT (unixepoch())
)