Skip to content

Commit

Permalink
testing log in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdyrod committed May 30, 2024
1 parent 6d37a23 commit 8861199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ class DateExtensionsTest {
}

private fun currentCalendar() : Calendar {
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
return Calendar.getInstance(TimeZone.getTimeZone("UTC")).apply {
TimeZone.setDefault(TimeZone.getTimeZone("CET"))
return Calendar.getInstance(TimeZone.getTimeZone("CET")).apply {
time = "2020-03-02T00:00:00.00Z".toDate()
}
}
Expand Down

0 comments on commit 8861199

Please sign in to comment.