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) {