fix: tests

This commit is contained in:
Tienson Qin
2023-12-05 19:48:29 +08:00
parent 3df099a15e
commit 1b2a3cc1c1

View File

@@ -208,7 +208,7 @@
;; make sure class2 will not be deleted when removing it from the first block
(editor-handler/save-block! repo sbid "Block 2 #class2")
(editor-handler/save-block! repo fbid "Block 1 #class1 #class3")
(is (= 3 (count (:block/tags (db/entity [:block/uuid fbid]))))))
(is (= 2 (count (:block/tags (db/entity [:block/uuid fbid]))))))
(testing "Get block's classes properties"
;; set c2 as parent of c3
(let [c3 (db/entity [:block/name "class3"])]