diff --git a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt index ee3565db55..3d020ff92e 100644 --- a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt +++ b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt @@ -215,7 +215,7 @@ class DateExtensionsTest { // System.out.println("Overdue text: ${date.toOverdueOrScheduledUiText(resourceManager, currentDate)}") val label = date.toOverdueOrScheduledUiText(resourceManager, currentDate, true) System.out.println("FERDY: $label") - // assert(date.toOverdueOrScheduledUiText(resourceManager, currentDate, true) == "In 30 days") + assert(date.toOverdueOrScheduledUiText(resourceManager, currentDate, true) == "In 30 days") } @Test diff --git a/build.gradle.kts b/build.gradle.kts index b1783fea56..9b0e402282 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -116,5 +116,10 @@ tasks.register("clean", Delete::class) { delete(rootProject.buildDir) } +tasks.withType { + testLogging { + events("standardOut", "started", "passed", "skipped", "failed") + } +}