Skip to content

Commit 4b7d6c7

Browse files
committed
fix: remove rtc test on updated-at
Since :block/updated-at should only be overwritten, not retracted
1 parent f940f70 commit 4b7d6c7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/test/frontend/worker/rtc/remote_update_test.cljs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949
op-value {:block/tags [ref-uuid2]}]
5050
(is (= #{[:db/retract (:db/id (d/entity db [:block/uuid block-uuid])) :block/tags [:block/uuid ref-uuid1]]}
5151
(set (#'subject/remote-op-value->tx-data db (d/entity db [:block/uuid block-uuid]) op-value nil))))))
52-
(testing ":block/updated-at"
53-
(let [db (d/db-with db [{:block/uuid block-uuid
54-
:block/updated-at 1}])
55-
ent (d/entity db [:block/uuid block-uuid])]
56-
(is (= [[:db/retract (:db/id ent) :block/updated-at]]
57-
(#'subject/remote-op-value->tx-data db ent {} nil)))))
5852
(testing ":logseq.property/status, op-value don't have this attr, means remove this attr"
5953
(let [db (d/db-with db [{:db/id "ref1"
6054
:block/uuid ref-uuid1}

0 commit comments

Comments
 (0)