aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-14 15:06:45 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-14 15:06:45 +0200
commit02b25bad0ded9510f462609f84408edee9fe87f0 (patch)
treee544993463e8000aae82bf33bd4699a5c3686f75 /kvision-modules
parentf9501852c29365edf09c1d98518d407ae9a3fbde (diff)
downloadkvision-02b25bad0ded9510f462609f84408edee9fe87f0.tar.gz
kvision-02b25bad0ded9510f462609f84408edee9fe87f0.tar.bz2
kvision-02b25bad0ded9510f462609f84408edee9fe87f0.zip
Some fixes of the testutils module.
Diffstat (limited to 'kvision-modules')
-rw-r--r--kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt b/kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt
index ca522469..ccd7a6f9 100644
--- a/kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt
+++ b/kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt
@@ -51,11 +51,11 @@ interface SimpleSpec : TestSpec {
interface DomSpec : TestSpec {
- fun getId() = "test"
+ fun getTestId() = "test"
override fun beforeTest() {
val fixture = "<div style=\"display: none\" id=\"pretest\">" +
- "<div id=\"${getId()}\"></div></div>"
+ "<div id=\"${getTestId()}\"></div></div>"
document.body?.insertAdjacentHTML("afterbegin", fixture)
}