aboutsummaryrefslogtreecommitdiffstats
path: root/test/Helpers.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/Helpers.ml')
-rw-r--r--test/Helpers.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Helpers.ml b/test/Helpers.ml
index 7f65007..f812a3a 100644
--- a/test/Helpers.ml
+++ b/test/Helpers.ml
@@ -51,7 +51,9 @@ module Storage = struct
SR.TupleSet.insert tx (Concepts.Tuple.hash tuple) tuple node )
(Ok SR.TupleSet.empty) tuples
in
- Ok {SR.schematics; tuples= SR.TupleSet.hash_of node} )
+ let relation = {SR.schematics; tuples= SR.TupleSet.hash_of node} in
+ let* _ = SI.store_blob tx (SR.encode relation) in
+ Ok relation )
in
SR.load conn value