aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/model-package-metadata.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/model-package-metadata.scm b/tests/model-package-metadata.scm
index 83d77bf..5c0092d 100644
--- a/tests/model-package-metadata.scm
+++ b/tests/model-package-metadata.scm
@@ -34,6 +34,18 @@
conn
(list mock-inferior-package-foo))
((x) (string? x))))
+ #:always-rollback? #t))
+
+ (with-postgresql-transaction
+ conn
+ (lambda (conn)
+ (test-equal "inferior-packages->package-metadata-ids"
+ (inferior-packages->package-metadata-ids
+ conn
+ (list mock-inferior-package-foo))
+ (inferior-packages->package-metadata-ids
+ conn
+ (list mock-inferior-package-foo)))
#:always-rollback? #t))))))
(test-end)