diff --git a/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/internal/DateTimeUtilsTest.kt b/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/internal/DateTimeUtilsTest.kt index 8abb725c7..4ef331377 100644 --- a/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/internal/DateTimeUtilsTest.kt +++ b/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/internal/DateTimeUtilsTest.kt @@ -41,7 +41,7 @@ class DateTimeUtilsTest { var storedValue = TextFieldValue("2022-10-12") assert(formatStoredDateToUI(storedValue, DateTimeActionType.DATE).text == "12102022") - storedValue = TextFieldValue(" \"2022-10\"") + storedValue = TextFieldValue("2022-10") assert(formatStoredDateToUI(storedValue, DateTimeActionType.DATE).text == "2022-10") storedValue = TextFieldValue("2022-10-1")