diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/jobs-load-new-guix-revision.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/jobs-load-new-guix-revision.scm b/tests/jobs-load-new-guix-revision.scm index cbd9adc..8f82e10 100644 --- a/tests/jobs-load-new-guix-revision.scm +++ b/tests/jobs-load-new-guix-revision.scm @@ -22,8 +22,8 @@ #t (mock ((guix-data-service jobs load-new-guix-revision) - store-item-for-git-repository-id-and-commit - (lambda (conn git-repository-id commit) + store-item-for-channel + (lambda (conn channel) "/gnu/store/test")) (mock @@ -46,8 +46,8 @@ #f (mock ((guix-data-service jobs load-new-guix-revision) - store-item-for-git-repository-id-and-commit - (lambda (conn git-repository-id commit) + store-item-for-channel + (lambda (conn channel) #f)) (match (enqueue-load-new-guix-revision-job @@ -64,8 +64,8 @@ #f (mock ((guix-data-service jobs load-new-guix-revision) - store-item-for-git-repository-id-and-commit - (lambda (conn git-repository-id commit) + store-item-for-channel + (lambda (conn channel) "/gnu/store/test")) (mock |