test(search): cover sort order of searchEmailsStructured and getEmailsByAddress #534

Merged
guettlibot merged 1 commits from refs/pull/534/head into main 2026-06-07 18:24:30 +00:00
1 Commits
Author SHA1 Message Date
Bot of Thomas Güttler 4ff22f2d56 test(search): cover sort order of searchEmailsStructured and getEmailsByAddress
The two search paths surfaced from the search screen (structured filter)
and the address emails screen relied on OrderingTerm.desc(receivedAt)
without a regression test. Add tests so the newest-first contract is
locked in alongside the existing searchEmails / searchEmailsGlobal tests.

Closes #485
2026-06-07 18:21:15 +00:00