From: David ‘Bombe’ Roden Date: Mon, 19 Jun 2017 09:02:47 +0000 (+0200) Subject: Convert like page test to use new web page test base X-Git-Tag: 0.9.7^2~139 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=04fbbc3e278e45feb24fb736ff8e24b2c827f985;p=Sone.git Convert like page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/LikePageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/LikePageTest.kt index 5b18d4c..9a293cc 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/LikePageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/LikePageTest.kt @@ -10,11 +10,7 @@ import org.mockito.Mockito.verifyNoMoreInteractions /** * Unit test for [LikePage]. */ -class LikePageTest : WebPageTest() { - - private val page = LikePage(template, webInterface) - - override fun getPage() = page +class LikePageTest: WebPageTest2(::LikePage) { @Test fun `page returns correct path`() {