timezone: make sure the tests pass when the timezone database is not installed on the host

This commit is contained in:
Frédéric Guillot 2024-03-24 12:56:02 -07:00
parent 068790fc19
commit e3b3c40c28
1 changed files with 3 additions and 0 deletions

View File

@ -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) {