From 121e96dca273ab407df11725da0026ee34abdf79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 30 Dec 2024 10:53:22 +0100 Subject: [PATCH] channels: Adjust tests for new #:verify-certificate? parameter. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/channels.scm | 4 ++-- 1 file 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 @@ (define channel-metadata-dependencies (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 @@ (define channel-metadata-dependencies (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)