add assertion

master
josha.von.gizycki 1 year ago
parent 86b872e01e
commit 7d7218a93f

@ -169,7 +169,8 @@
-[:of]->(rev:revision) -[:of]->(rev:revision)
-[:of]->(i:instance) -[:of]->(i:instance)
WHERE i.uuid = '" (:uuid instance) "' WHERE i.uuid = '" (:uuid instance) "'
RETURN rp.value")))))) RETURN rp.value"))))
(is (= 1 (single-result "MATCH (r:revision) RETURN COUNT(r)")))))
(testing "delete first instance" (testing "delete first instance"
(inst-routes/route-delete! (:uuid instance)) (inst-routes/route-delete! (:uuid instance))

Loading…
Cancel
Save