From e3b3c40c287c4496c6df48f00e930d4f3d544506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 24 Mar 2024 12:56:02 -0700 Subject: [PATCH] timezone: make sure the tests pass when the timezone database is not installed on the host --- internal/timezone/timezone_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/timezone/timezone_test.go b/internal/timezone/timezone_test.go index dc80c22f..49957b7a 100644 --- a/internal/timezone/timezone_test.go +++ b/internal/timezone/timezone_test.go @@ -6,6 +6,9 @@ package timezone // import "miniflux.app/v2/internal/timezone" import ( "testing" "time" + + // Make sure these tests pass when the timezone database is not installed on the host system. + _ "time/tzdata" ) func TestNow(t *testing.T) {