The following tests use Calendar and consistently fails when I run them.
The reason for this is that the timezones of the test runner are not taken into account.
https://github.com/kolmafia/kolmafi...kolmafia/session/ResultProcessorTest.java#L76
https://github.com/kolmafia/kolmafia/blob/main/test/internal/helpers/Player.java#L856
I'm using New Zealand time, which basically fails these tests. I'm not sure how to go about fixing this in regards to implementation.
canDetectHoliday() obtainOysterEggOnWrongDay() obtainOysterEggOnWrongDayAndWithoutBasket()
The reason for this is that the timezones of the test runner are not taken into account.
https://github.com/kolmafia/kolmafi...kolmafia/session/ResultProcessorTest.java#L76
https://github.com/kolmafia/kolmafia/blob/main/test/internal/helpers/Player.java#L856
I'm using New Zealand time, which basically fails these tests. I'm not sure how to go about fixing this in regards to implementation.