fix(test): sync before searching in second searchEmails IMAP test #519

Merged
guettlibot merged 1 commits from issue-506-fix-search-emails-tests into main 2026-06-07 00:49:54 +00:00
1 Commits
Author SHA1 Message Date
Thomas GuettlerandClaude Sonnet 4.6 6853ad130f fix(test): sync before searching in second searchEmails IMAP test
The searchEmails implementation now queries local SQLite FTS5 (not IMAP),
so syncEmails must be called first to populate the index. The first test
was already fixed; this adds the same syncEmails call to the second test
and adds a clarifying comment to the implementation.

Closes #506

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 00:49:05 +00:00