From bae1843f1a1d644fb3bd4f8c40b1dbb900aa3325 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sun, 1 Aug 2021 14:51:28 +0200 Subject: Use guile parameters With parameters, the API does not need to care about the directory where to load files and how to get the time. --- tests/jwks-get.scm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/jwks-get.scm') diff --git a/tests/jwks-get.scm b/tests/jwks-get.scm index 66174a2..8e9169e 100644 --- a/tests/jwks-get.scm +++ b/tests/jwks-get.scm @@ -55,12 +55,8 @@ } ") (exit 2))) - (define current-time 0) (define cache-http-get (with-cache - #:current-time - (lambda () - (make-time time-utc 0 current-time)) #:http-get respond)) (define jwks (get-jwks "https://example.com/keys" #:http-get cache-http-get)) -- cgit v1.2.3