From: David ‘Bombe’ Roden Date: Mon, 19 Jun 2017 09:01:55 +0000 (+0200) Subject: Convert lock Sone page test to use new web page test base X-Git-Tag: 0.9.7^2~140 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1382f9cd93f578b11495e9c586b0594ad0170547;p=Sone.git Convert lock Sone page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/LockSonePageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/LockSonePageTest.kt index 7650988..8cc6028 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/LockSonePageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/LockSonePageTest.kt @@ -13,11 +13,7 @@ import org.mockito.Mockito.verify /** * Unit test for [LockSonePage]. */ -class LockSonePageTest : WebPageTest() { - - private val page = LockSonePage(template, webInterface) - - override fun getPage() = page +class LockSonePageTest: WebPageTest2(::LockSonePage) { @Test fun `page returns correct path`() {