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/oidc-configuration.scm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/oidc-configuration.scm') diff --git a/tests/oidc-configuration.scm b/tests/oidc-configuration.scm index 7f02941..f7b3bbc 100644 --- a/tests/oidc-configuration.scm +++ b/tests/oidc-configuration.scm @@ -115,12 +115,8 @@ ] }")) (else (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 cfg (get-oidc-configuration "example.com" -- cgit v1.2.3