From: David ‘Bombe’ Roden Date: Sun, 18 Jun 2017 21:08:53 +0000 (+0200) Subject: Convert unfollow Sone page test to use new web page test base X-Git-Tag: 0.9.7^2~155 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b70b84d40623bce1ee98b8ebe4e69c247e3ad992;p=Sone.git Convert unfollow Sone page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt index 9357c47..444a355 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt @@ -9,11 +9,7 @@ import org.mockito.Mockito.verify /** * Unit test for [UnfollowSonePage]. */ -class UnfollowSonePageTest : WebPageTest() { - - private val page = UnfollowSonePage(template, webInterface) - - override fun getPage() = page +class UnfollowSonePageTest: WebPageTest2(::UnfollowSonePage) { @Test fun `page returns correct path`() {