From 524aa6783ce3d72c93dcb8001c6ead1ff777f66e Mon Sep 17 00:00:00 2001 From: manu Date: Mon, 8 Jul 2024 11:45:28 +0200 Subject: [PATCH] fix ui test --- .../java/org/dhis2/usescases/flow/teiFlow/TeiFlowTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/androidTest/java/org/dhis2/usescases/flow/teiFlow/TeiFlowTest.kt b/app/src/androidTest/java/org/dhis2/usescases/flow/teiFlow/TeiFlowTest.kt index 36530fd663a..acfe77dd6c5 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/flow/teiFlow/TeiFlowTest.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/flow/teiFlow/TeiFlowTest.kt @@ -97,7 +97,7 @@ class TeiFlowTest : BaseTest() { private fun getCurrentDate(): String { val sdf = DateUtils.uiDateFormat() val dateFormat = sdf.format(Date()) - return dateFormat.removePrefix("0") + return dateFormat } private fun prepareWomanProgrammeIntentAndLaunchActivity(ruleSearch: ActivityTestRule) {