Skip to content

Commit

Permalink
testing log in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdyrod committed May 29, 2024
1 parent 4f6191d commit bbb5681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,10 @@ tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}

tasks.withType<Test> {
testLogging {
events("standardOut", "started", "passed", "skipped", "failed")
}
}


0 comments on commit bbb5681

Please sign in to comment.