GitHubMilestoneApiTests uses Instant.now() for due_on. Since Instant.now() is UTC time based, isMilestoneDueTodayWhenDueTodayThenTrue fails when the computer that runs the test is not the same day as it is in UTC time.
To fix it, due_on should be set to an Instant based upon the timezone of the current computer.
GitHubMilestoneApiTestsusesInstant.now()fordue_on. SinceInstant.now()is UTC time based,isMilestoneDueTodayWhenDueTodayThenTruefails when the computer that runs the test is not the same day as it is in UTC time.To fix it,
due_onshould be set to anInstantbased upon the timezone of the current computer.