diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-14 15:06:45 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-14 15:06:45 +0200 |
commit | 02b25bad0ded9510f462609f84408edee9fe87f0 (patch) | |
tree | e544993463e8000aae82bf33bd4699a5c3686f75 /kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision | |
parent | f9501852c29365edf09c1d98518d407ae9a3fbde (diff) | |
download | kvision-02b25bad0ded9510f462609f84408edee9fe87f0.tar.gz kvision-02b25bad0ded9510f462609f84408edee9fe87f0.tar.bz2 kvision-02b25bad0ded9510f462609f84408edee9fe87f0.zip |
Some fixes of the testutils module.
Diffstat (limited to 'kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision')
-rw-r--r-- | kvision-modules/kvision-testutils/src/test/kotlin/pl/treksoft/kvision/test/TestUtil.kt | 4 |
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) } |