immich/server/test
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
..
fixtures feat: local album events notification (#22817) 2025-10-14 10:15:51 -05:00
medium fix: tag clean up query and add tests (#22633) 2025-10-15 22:51:57 +00:00
repositories feat: asset metadata (#20446) 2025-08-27 14:31:23 -04:00
sql-tools feat: naming strategy (#19848) 2025-07-11 11:35:10 -04:00
medium.factory.ts fix: tag clean up query and add tests (#22633) 2025-10-15 22:51:57 +00:00
small.factory.ts feat: audit cleanup (#21567) 2025-09-03 22:50:27 +00:00
utils.ts fix: asset upload metadata validation (#21594) 2025-09-04 13:22:01 -05:00
vitest.config.medium.mjs feat: medium tests for user and sync service (#16304) 2025-02-25 16:31:07 +00:00
vitest.config.mjs refactor: sql-tools (#19717) 2025-07-03 10:59:17 -04:00