mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
fix: multiple bugs with built-in pages, fixes LOG-3046
- file graph wasn't creating built in pages - 3 places where db graphs were incorrectly using file graph built in page names - file graphs creating default pages with incorrect format
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
edn-output (edn/read-string result)]
|
||||
(is (= #{:version :blocks} (set (keys edn-output)))
|
||||
"Correct top-level keys")
|
||||
(is (= (sort (concat (map :block/original-name default-db/built-in-pages)
|
||||
(is (= (sort (concat (map :block/original-name gp-db/built-in-pages)
|
||||
["page1" "page2"]))
|
||||
(sort (map :block/page-name (:blocks edn-output))))
|
||||
"Correct pages")))
|
||||
|
||||
Reference in New Issue
Block a user