🐛 Fix incorrect data id assignation on creating a snapshot (#5934)

* 📎 Set proper name to relink-refs mechanism function

* 🐛 Fix incorrect id assignation on snapshot file resolution

* ♻️ Use uniform api for file retrieval on file snapshot code
This commit is contained in:
Andrey Antukh 2025-02-24 11:05:16 +01:00 committed by GitHub
parent 786383c25d
commit 15d09eb0d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 120 additions and 97 deletions

View file

@ -97,6 +97,7 @@
(th/db-query :file-change
{:file-id (:id file)}
{:order-by [:created-at]})]
(t/is (= 2 (count rows)))
(t/is (= "user" (:created-by row1)))
(t/is (= "system" (:created-by row2)))))