From 1b2a3cc1c14e12f100b2171f23fdc039005bdd6e Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Tue, 5 Dec 2023 19:48:29 +0800 Subject: [PATCH] fix: tests --- src/test/frontend/handler/db_based/property_test.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/frontend/handler/db_based/property_test.cljs b/src/test/frontend/handler/db_based/property_test.cljs index 4712366233..75f38f78a5 100644 --- a/src/test/frontend/handler/db_based/property_test.cljs +++ b/src/test/frontend/handler/db_based/property_test.cljs @@ -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"])]