From: David ‘Bombe’ Roden Date: Tue, 20 Jun 2017 12:29:08 +0000 (+0200) Subject: Convert create Sone page test to use new web page test base X-Git-Tag: 0.9.7^2~120 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=aabe2caf395539cb9b26858b841cad0181a18e8f;p=Sone.git Convert create Sone page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateSonePageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateSonePageTest.kt index d57b1d0..95afaa8 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateSonePageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateSonePageTest.kt @@ -16,10 +16,7 @@ import org.mockito.Mockito.verify /** * Unit test for [CreateSonePage]. */ -class CreateSonePageTest: WebPageTest() { - - private val page = CreateSonePage(template, webInterface) - override fun getPage() = page +class CreateSonePageTest: WebPageTest2(::CreateSonePage) { private val localSones_ = listOf( createSone("local-sone1"),