From 321135f1806b19caad2e0e95a68f809ea81ecf66 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 25 Apr 2020 14:37:55 +0200 Subject: Fix tests --- .../test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kvision-modules/kvision-bootstrap-datetime') diff --git a/kvision-modules/kvision-bootstrap-datetime/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt b/kvision-modules/kvision-bootstrap-datetime/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt index a6714f0c..ce5426a9 100644 --- a/kvision-modules/kvision-bootstrap-datetime/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt +++ b/kvision-modules/kvision-bootstrap-datetime/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt @@ -43,16 +43,16 @@ class DateTimeSpec : DomSpec { } root.add(ti) val element = document.getElementById("test") - val id = ti.input.id + val id = ti.input.input.id val datastr = data.toStringF(ti.format) assertEqualsHtml( - "
", + "
", element?.innerHTML, "Should render correct date time input form control" ) ti.validatorError = "Validation Error" assertEqualsHtml( - "
Validation Error
", + "
Validation Error
", element?.innerHTML, "Should render correct date time input form control with validation error" ) -- cgit