diff options
-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) } |