immich/server/test/medium
Jorge Montejo 9d639607c7
fix: tag clean up query and add tests (#22633)
* fix delete empty tags query

* rewrite as a single statement

* create tag service medium test

* single tag exists, connected to one asset, and is not deleted

* do not delete parent tag if children have an asset

* hierarchical tag tests

* fix query to match 3 test

* remove transaction and format:fix

* remove transaction and format:fix

* simplify query, handle nested empty tag

* unused helper

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2025-10-15 22:51:57 +00:00
..
specs fix: tag clean up query and add tests (#22633) 2025-10-15 22:51:57 +00:00
globalSetup.ts refactor: database types (#19624) 2025-06-30 13:19:16 -04:00
responses.ts refactor: controller tests (#18100) 2025-05-05 18:57:32 -04:00