From c29bc03b2907f362c96051dbf4a40aa6f61d5205 Mon Sep 17 00:00:00 2001 From: Ferdy Rodriguez Date: Wed, 29 May 2024 12:42:58 +0200 Subject: [PATCH] testing log in test --- app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt index 23557014b1..bf0085c3f6 100644 --- a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt +++ b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt @@ -260,7 +260,7 @@ class DateExtensionsTest { assert(date.toOverdueOrScheduledUiText(resourceManager, currentDate) == "In 3 years") } - private fun currentCalendar() = Calendar.getInstance(Locale.US).apply { + private fun currentCalendar() = Calendar.getInstance().apply { time = "2020-03-02T00:00:00.00Z".toDate() } }