aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/database.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/database.scm b/tests/database.scm
index 306068b..902c94e 100644
--- a/tests/database.scm
+++ b/tests/database.scm
@@ -106,6 +106,7 @@ INSERT INTO Evaluations (specification, revision) VALUES (3, 3);")
(let* ((job (make-dummy-job))
(key (assq-ref job #:derivation)))
(db-add-derivation (%db) job)
+ (db-add-derivation (%db) job) ;idempotent
(%id key)))
(test-assert "db-get-derivation"