diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-08-01 14:51:28 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-08-01 18:08:56 +0200 |
commit | bae1843f1a1d644fb3bd4f8c40b1dbb900aa3325 (patch) | |
tree | 00f590033af904a6a493e41bdebe9b3ddd73043b /tests/jwks-get.scm | |
parent | d8c2ca930673da858d63f2dea9526c259a2dd936 (diff) |
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.
Diffstat (limited to 'tests/jwks-get.scm')
-rw-r--r-- | tests/jwks-get.scm | 4 |
1 files changed, 0 insertions, 4 deletions
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)) |