summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-12-30 10:53:22 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-30 11:01:54 +0100
commit121e96dca273ab407df11725da0026ee34abdf79 (patch)
tree1f5f6a4db61369da0d6b2506746cb146a22b6dd7 /tests
parentbdde278dc9c565d8e9d11427c3a670ba86808af5 (diff)
channels: Adjust tests for new #:verify-certificate? parameter.
This is a followup to 9544a0441145b9d404bb52edbdaf11666008731c. * tests/channels.scm ("latest-channel-instances includes channel dependencies") ("latest-channel-instances excludes duplicate channel dependencies"): Add #:verify-certificate? parameter to ‘update-cached-checkout’ mock. Change-Id: Ia795b965c564e5552525327d1d748635dc66d5fd
Diffstat (limited to 'tests')
-rw-r--r--tests/channels.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/channels.scm b/tests/channels.scm
index c56e4e6a71..15deb551ff 100644
--- a/tests/channels.scm
+++ b/tests/channels.scm
@@ -154,7 +154,7 @@
(url "test")))
(test-dir (channel-instance-checkout instance--simple)))
(mock ((guix git) update-cached-checkout
- (lambda* (url #:key ref starting-commit)
+ (lambda* (url #:key ref starting-commit verify-certificate?)
(match url
("test" (values test-dir "caf3cabba9e" #f))
(_ (values (channel-instance-checkout instance--no-deps)
@@ -173,7 +173,7 @@
(url "test")))
(test-dir (channel-instance-checkout instance--with-dupes)))
(mock ((guix git) update-cached-checkout
- (lambda* (url #:key ref starting-commit)
+ (lambda* (url #:key ref starting-commit verify-certificate?)
(match url
("test" (values test-dir "caf3cabba9e" #f))
(_ (values (channel-instance-checkout instance--no-deps)