daniel-frak / dummy4j

An extensible dummy/fake data generator library for Java
https://daniel-frak.github.io/dummy4j/
Apache License 2.0
11 stars 2 forks source link

DateAndTimeDummyTest should not use the default time zone #8

Closed little-pinecone closed 4 years ago

little-pinecone commented 4 years ago

Using the default time zone in tests may break them on different environments.

While in this instance, no errors have presented themselves yet, using a defined timezone will result in cleaner, more stable code.