timezone: make sure the tests pass when the timezone database is not installed on the host
This commit is contained in:
parent
068790fc19
commit
e3b3c40c28
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ package timezone // import "miniflux.app/v2/internal/timezone"
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
// Make sure these tests pass when the timezone database is not installed on the host system.
|
||||||
|
_ "time/tzdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNow(t *testing.T) {
|
func TestNow(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue