From 7d7218a93f2b317ca2f4c1a0f5bed93ef4a92dee Mon Sep 17 00:00:00 2001 From: "josha.von.gizycki" Date: Thu, 16 Nov 2023 13:09:05 +0100 Subject: [PATCH] add assertion --- test/wanijo/infra/system_test.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/wanijo/infra/system_test.clj b/test/wanijo/infra/system_test.clj index 9a5fc1b..8fe19fd 100644 --- a/test/wanijo/infra/system_test.clj +++ b/test/wanijo/infra/system_test.clj @@ -169,7 +169,8 @@ -[:of]->(rev:revision) -[:of]->(i: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" (inst-routes/route-delete! (:uuid instance))