From: David ‘Bombe’ Roden Date: Mon, 19 Jun 2017 21:35:23 +0000 (+0200) Subject: Convert follow Sone page test to use new web page test base X-Git-Tag: 0.9.7^2~133 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=04d8d233b097a2c1a856d4fe2a1dc87a7ea3a26b;p=Sone.git Convert follow Sone page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/FollowSonePageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/FollowSonePageTest.kt index 581390c..3e80cc5 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/FollowSonePageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/FollowSonePageTest.kt @@ -16,11 +16,7 @@ import org.mockito.Mockito.verify /** * Unit test for [FollowSonePage]. */ -class FollowSonePageTest : WebPageTest() { - - private val page = FollowSonePage(template, webInterface) - - override fun getPage() = page +class FollowSonePageTest: WebPageTest2(::FollowSonePage) { @Test fun `page returns correct path`() {