westnordost / osmapi

Java client for the OSM API 0.6
GNU Lesser General Public License v3.0
97 stars 19 forks source link

testByClosedAfter fails on timezone different from Europe/Berlin #12

Closed kruchinin-pavel closed 7 years ago

kruchinin-pavel commented 7 years ago

I've tried it on my Moscow's PC and found test issue. Fix is attached.

Test fails: test_fails

Fix: testByClosedAfter.patch.zip

westnordost commented 7 years ago

The test case always assumes to be run in UTC+1, so it is the test case that must be fixed, not the code.

kruchinin-pavel commented 7 years ago

Okay. TestCase fix attached. Please have a look. testByClosedAfter.patch.zip

westnordost commented 7 years ago

Hm? I already fixed it myself and pushed it to the repos

On 18 October 2017 07:37:23 CEST, Pavel Kruchinin notifications@github.com wrote:

Okay. TestCase fix attached. Please have a look. testByClosedAfter.patch.zip

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/westnordost/osmapi/issues/12#issuecomment-337465393

-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.