mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: tests
This commit is contained in:
@@ -763,9 +763,9 @@
|
||||
set))
|
||||
"All classes are correctly defined by :type")
|
||||
|
||||
(is (= "CreativeWork" (get-in (d/entity @conn :user.class/Movie) [:logseq.property.class/extends :block/title]))
|
||||
(is (= ["CreativeWork"] (map :block/title (:logseq.property.class/extends (d/entity @conn :user.class/Movie))))
|
||||
"Existing page correctly set as class parent")
|
||||
(is (= "Thing" (get-in (d/entity @conn :user.class/CreativeWork) [:logseq.property.class/extends :block/title]))
|
||||
(is (= ["Thing"] (map :block/title (:logseq.property.class/extends (d/entity @conn :user.class/CreativeWork))))
|
||||
"New page correctly set as class parent")))
|
||||
|
||||
(deftest-async export-files-with-property-pages-disabled
|
||||
|
||||
Reference in New Issue
Block a user