From: David ‘Bombe’ Roden Date: Mon, 19 Jun 2017 08:47:25 +0000 (+0200) Subject: Convert logout page test to use new web page test base X-Git-Tag: 0.9.7^2~142 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=794a73f956fce98dfc04c675bc4b903e42a2ffde;p=Sone.git Convert logout page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/LogoutPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/LogoutPageTest.kt index 3718a49..cb53646 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/LogoutPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/LogoutPageTest.kt @@ -9,11 +9,7 @@ import org.mockito.Mockito.verify /** * Unit test for [LogoutPage]. */ -class LogoutPageTest: WebPageTest() { - - private val page = LogoutPage(template, webInterface) - - override fun getPage() = page +class LogoutPageTest: WebPageTest2(::LogoutPage) { @Test fun `page returns correct path`() {