fix: db test

pull/11451/head
Tienson Qin 2024-08-02 23:22:32 +08:00
parent 04e32b33d2
commit 3a9fc0628e
1 changed files with 1 additions and 3 deletions

View File

@ -53,9 +53,7 @@
;; they aren't user facing
(remove #(or (= "logseq.kv" (namespace (:db/ident %)))
(= :logseq.property/empty-placeholder (:db/ident %)))))]
(is (= []
(remove #(->> % :logseq.property/built-in? (db-property/ref->property-value-content @conn))
idents))
(is (= [] (remove :logseq.property/built-in? idents))
"All entities with :db/ident have built-in property (except for kv idents)")))
(deftest new-graph-creates-class