Add initial tests on property handler

This commit is contained in:
Tienson Qin
2023-11-30 00:33:48 +08:00
parent 1117ad3cb4
commit f342303e6a
10 changed files with 255 additions and 21 deletions

View File

@@ -65,8 +65,8 @@
(db-property-handler/batch-set-property! repo block-ids key value))
(file-property-handler/batch-set-block-property! block-ids key value)))
(defn replace-key-with-id!
(defn replace-key-with-id
[repo m]
(if (config/db-based-graph? repo)
(db-property-handler/replace-key-with-id! m)
m))
(db-property-handler/replace-key-with-id m)
m))