diff options
Diffstat (limited to 'kvision-modules/kvision-bootstrap/src')
-rw-r--r-- | kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt index 6e30f12c..5f55a1f8 100644 --- a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt +++ b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt @@ -64,13 +64,13 @@ interface DomSpec : TestSpec { override fun afterTest() { val div = document.getElementById("pretest") div?.let { jQuery(it).remove() } - jQuery(`object` = ".modal-backdrop").remove() + jQuery(".modal-backdrop").remove() } fun assertEqualsHtml(expected: String?, actual: String?, message: String?) { if (expected != null && actual != null) { - val exp = jQuery(html = expected) - val act = jQuery(html = actual) + val exp = jQuery(expected) + val act = jQuery(actual) val result = exp[0]?.isEqualNode(act[0]) if (result == true) { assertTrue(result == true, message) |